Searched refs:x_is_one (Results 1 – 3 of 3) sorted by relevance
52 def x_is_one(): function
2666 const bool x_is_one = x_is_zero ? false : IsOnes(*x); in SimplifyArithmeticOperations() local2670 ((is_mul && x_is_one) || (is_add && x_is_zero))) { in SimplifyArithmeticOperations()2685 if (y_matches_output_shape && is_any_div && x_is_one) { in SimplifyArithmeticOperations()2712 if (shp.IsFullyDefined() && IsLogicalOr(*node) && (y_is_one || x_is_one)) { in SimplifyArithmeticOperations()