Home
last modified time | relevance | path

Searched refs:y_is_zero (Results 1 – 1 of 1) sorted by relevance

/external/tensorflow/tensorflow/core/grappler/optimizers/
Dconstant_folding.cc2697 const bool y_is_zero = IsZeros(*y); in SimplifyArithmeticOperations() local
2698 const bool y_is_one = y_is_zero ? false : IsOnes(*y); in SimplifyArithmeticOperations()
2702 ((is_add || is_sub) && y_is_zero))) { in SimplifyArithmeticOperations()
2728 if ((x_is_zero || y_is_zero) && in SimplifyArithmeticOperations()
2753 } else if (is_mul && y_is_zero && y_matches_output_shape) { in SimplifyArithmeticOperations()