Searched refs:IsOnes (Results 1 – 2 of 2) sorted by relevance
87 bool IsOnes(const NodeDef& node) const;
1563 bool ConstantFolding::IsOnes(const NodeDef& node) const { in IsOnes() function in tensorflow::grappler::ConstantFolding1571 return values != nullptr && IsOnes(*values); in IsOnes()2666 const bool x_is_one = x_is_zero ? false : IsOnes(*x); in SimplifyArithmeticOperations()2698 const bool y_is_one = y_is_zero ? false : IsOnes(*y); in SimplifyArithmeticOperations()