Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/grappler/optimizers/
Dconstant_folding.h105 bool IsOnes(const NodeDef& node) const;
Dconstant_folding.cc1733 bool ConstantFolding::IsOnes(const NodeDef& node) const { in IsOnes() function in tensorflow::grappler::ConstantFolding
1741 return values != nullptr && IsOnes(*values); in IsOnes()
2518 const bool is_all_true = IsOnes(*predicate_node); in SimplifySelect()
2578 (!is_add_or_sub && IsOnes(*delta_node))) { in RemoveRedundantVariableUpdates()
2953 const bool x_is_one = x_is_zero ? false : IsOnes(*x); in SimplifyArithmeticOperations()
2982 const bool y_is_one = y_is_zero ? false : IsOnes(*y); in SimplifyArithmeticOperations()