Searched refs:ElementIsFloating (Results 1 – 11 of 11) sorted by relevance
23 ShapeUtil::ElementIsFloating(hlo->shape()) == in IsUpcastConvert()24 ShapeUtil::ElementIsFloating(hlo->operand(0)->shape()) && in IsUpcastConvert()
147 return ShapeUtil::ElementIsFloating(instruction->shape()) == in MatchesArCrsPattern()148 ShapeUtil::ElementIsFloating(instruction->operand(0)->shape()); in MatchesArCrsPattern()153 return ShapeUtil::ElementIsFloating(instruction->shape()); in MatchesArCrsPattern()
269 if (!ShapeUtil::ElementIsFloating(shape)) { in InferUnaryOpShape()287 if (!ShapeUtil::ElementIsFloating(shape) && in InferUnaryOpShape()299 } else if (ShapeUtil::ElementIsFloating(shape)) { in InferUnaryOpShape()329 !ShapeUtil::ElementIsFloating(shape) && in InferUnaryOpShape()366 if (!ShapeUtil::ElementIsFloating(shape)) { in InferUnaryOpShape()508 if (!ShapeUtil::ElementIsFloating(operand_shape)) { in InferReducePrecisionShape()999 if (!ShapeUtil::ElementIsFloating(lhs)) { in InferBinaryOpShape()1263 if (!ShapeUtil::ElementIsFloating(operand_shape)) { in InferBatchNormTrainingShape()1369 if (!ShapeUtil::ElementIsFloating(operand_shape)) { in InferBatchNormInferenceShape()1515 if (!ShapeUtil::ElementIsFloating(operand_shape)) { in InferBatchNormGradShape()[all …]
1110 if (!ShapeUtil::ElementIsFloating(subshape)) { in CheckMixedPrecisionOperands()
260 ShapeUtil::ElementIsFloating(src_shape) && in IsConvertPairNoOp()261 ShapeUtil::ElementIsFloating(intermediate_shape); in IsConvertPairNoOp()2439 ShapeUtil::ElementIsFloating(dot->shape()) in HandleDot()
2363 bool use_fast_add = ShapeUtil::ElementIsFloating(init_values[0]->shape()) && in GenerateReduceOutputElement()
264 if (ElementIsFloating(a) && ElementIsFloating(b)) { in SameElementTypeIgnoringFpPrecision()281 ElementIsFloating(shape) in HigherPrecisionElementType()286 ElementIsFloating(shape) in HigherPrecisionElementType()503 static bool ElementIsFloating(const Shape& shape);
481 /* static */ bool ShapeUtil::ElementIsFloating(const Shape& shape) { in ElementIsFloating() function in xla::ShapeUtil1737 return ElementIsFloating(from) == ElementIsFloating(to) && in ElementCanUpcast()
813 if (ShapeUtil::ElementIsFloating(expected.shape()) || in NearHelper()
317 if (ShapeUtil::ElementIsFloating(expected.shape()) || in ComputeAndCompareLiteralWithStatus()
1387 bool root_is_floating_point = ShapeUtil::ElementIsFloating(root_shape); in MatchReductionGenerator()