Searched refs:y_is_one (Results 1 – 3 of 3) sorted by relevance
58 def y_is_one(): function
2698 const bool y_is_one = y_is_zero ? false : IsOnes(*y); in SimplifyArithmeticOperations() local2701 if (x_matches_output_shape && (((is_mul || is_any_div) && y_is_one) || in SimplifyArithmeticOperations()2712 if (shp.IsFullyDefined() && IsLogicalOr(*node) && (y_is_one || x_is_one)) { in SimplifyArithmeticOperations()