Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/test/
Dsample_doctest.py52 def x_is_one(): function
/external/python/cpython2/Lib/test/
Dsample_doctest.py52 def x_is_one(): function
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dconstant_folding.cc2953 const bool x_is_one = x_is_zero ? false : IsOnes(*x); in SimplifyArithmeticOperations() local
2954 if ((is_mul && x_is_one) || (is_add && x_is_zero)) { in SimplifyArithmeticOperations()
2972 if (y_matches_output_shape && is_any_div && x_is_one) { in SimplifyArithmeticOperations()
2997 if (shp.IsFullyDefined() && IsLogicalOr(*node) && (y_is_one || x_is_one)) { in SimplifyArithmeticOperations()