Searched refs:IsOnes (Results 1 – 2 of 2) sorted by relevance
105 bool IsOnes(const NodeDef& node) const;
1733 bool ConstantFolding::IsOnes(const NodeDef& node) const { in IsOnes() function in tensorflow::grappler::ConstantFolding1741 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()