Searched refs:ElementIsFloating (Results 1 – 11 of 11) sorted by relevance
55 return ShapeUtil::ElementIsFloating(instruction->shape()) == in MatchesArCrsPattern()56 ShapeUtil::ElementIsFloating(instruction->operand(0)->shape()); in MatchesArCrsPattern()61 return ShapeUtil::ElementIsFloating(instruction->shape()); in MatchesArCrsPattern()
245 if (!ShapeUtil::ElementIsFloating(shape)) { in InferUnaryOpShape()261 if (!ShapeUtil::ElementIsFloating(shape) && in InferUnaryOpShape()273 } else if (ShapeUtil::ElementIsFloating(shape)) { in InferUnaryOpShape()303 !ShapeUtil::ElementIsFloating(shape) && in InferUnaryOpShape()332 if (!ShapeUtil::ElementIsFloating(shape)) { in InferUnaryOpShape()463 if (!ShapeUtil::ElementIsFloating(operand_shape)) { in InferReducePrecisionShape()955 if (!ShapeUtil::ElementIsFloating(lhs)) { in InferBinaryOpShape()1219 if (!ShapeUtil::ElementIsFloating(operand_shape)) { in InferBatchNormTrainingShape()1325 if (!ShapeUtil::ElementIsFloating(operand_shape)) { in InferBatchNormInferenceShape()1471 if (!ShapeUtil::ElementIsFloating(operand_shape)) { in InferBatchNormGradShape()[all …]
789 if (!ShapeUtil::ElementIsFloating(subshape)) { in CheckMixedPrecisionOperands()
1770 if (ShapeUtil::ElementIsFloating(init_literals[0]->shape()) && in HandleReduce()
258 if (ElementIsFloating(a) && ElementIsFloating(b)) { in SameElementTypeIgnoringFpPrecision()441 static bool ElementIsFloating(const Shape& shape);
778 if (ShapeUtil::ElementIsFloating(expected.shape()) || in NearHelper()
324 /* static */ bool ShapeUtil::ElementIsFloating(const Shape& shape) { in ElementIsFloating() function in xla::ShapeUtil
48 return !ShapeUtil::ElementIsFloating(instruction.shape()) && in IsExpensive()
495 } else if (ShapeUtil::ElementIsFloating(lhs_shape)) { in HandleDot()595 } else if (ShapeUtil::ElementIsFloating(lhs_shape)) { in HandleDot()
317 if (ShapeUtil::ElementIsFloating(expected.shape()) || in ComputeAndCompareLiteralWithStatus()
1422 bool root_is_floating_point = ShapeUtil::ElementIsFloating(root_shape); in MatchReductionGenerator()