Home
last modified time | relevance | path

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

/external/python/cpython2/Lib/test/
Dsample_doctest.py52 def x_is_one(): function
/external/python/cpython3/Lib/test/
Dsample_doctest.py52 def x_is_one(): function
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dconstant_folding.cc2666 const bool x_is_one = x_is_zero ? false : IsOnes(*x); in SimplifyArithmeticOperations() local
2670 ((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()