Home
last modified time | relevance | path

Searched refs:IsFloatingPointType (Results 1 – 24 of 24) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/
Dprimitive_util.h140 bool IsFloatingPointType(PrimitiveType type);
184 IsFloatingPointType(component_type) ? OverflowExponent(component_type) in HigherPrecisionType()
188 IsFloatingPointType(component_type) ? SignificandWidth(component_type) in HigherPrecisionType()
236 if (primitive_util::IsFloatingPointType(from_type) && in CastPreservesValues()
237 primitive_util::IsFloatingPointType(to_type)) { in CastPreservesValues()
259 if (primitive_util::IsFloatingPointType(to_type)) { in CastPreservesValues()
Dprimitive_util.cc79 bool IsFloatingPointType(PrimitiveType type) { in IsFloatingPointType() function
Dcomparison_util.h144 return primitive_util::IsFloatingPointType(primitive_type_); in IsFloatingPointPrimitiveType()
Dshape_util.cc544 return primitive_util::IsFloatingPointType(shape.element_type()); in ElementIsFloating()
Dliteral.cc2000 if (primitive_util::IsFloatingPointType(ty)) { in IsAll()
/external/tensorflow/tensorflow/compiler/xla/tests/
Diota_test.cc105 if (primitive_util::IsFloatingPointType(element_type)) { in XLA_TEST_P()
137 if (primitive_util::IsFloatingPointType(element_type)) { in XLA_TEST_P()
Dcpu_gpu_fusion_test.cc129 if (primitive_util::IsFloatingPointType(prim_type)) { in TestElementwise2D()
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dcast_op.cc62 xla::primitive_util::IsFloatingPointType(src_type_) && in Compile()
63 xla::primitive_util::IsFloatingPointType(dst_type_), in Compile()
/external/tensorflow/tensorflow/compiler/xla/service/
Dcomparison_expander.cc69 primitive_util::IsFloatingPointType(lhs->shape().element_type())) { in InstructionMatchesPattern()
87 CHECK(primitive_util::IsFloatingPointType(compare_type)); in ExpandInstruction()
Dsimplify_fp_conversions.cc35 primitive_util::IsFloatingPointType(input->shape().element_type())) { in RunOnComputation()
Drng_expander.cc102 if (primitive_util::IsFloatingPointType(result_shape.element_type())) { in GetComputationForRng()
Delemental_ir_emitter.cc65 if (!primitive_util::IsFloatingPointType(src_ty)) { in EmitReducePrecisionIR()
276 if (primitive_util::IsFloatingPointType(to_type)) { in EmitIntegerUnaryOp()
380 CHECK(primitive_util::IsFloatingPointType(from_type)) << from_type; in EmitFloatUnaryOp()
420 if (primitive_util::IsFloatingPointType(to_type)) { in EmitFloatUnaryOp()
470 CHECK(primitive_util::IsFloatingPointType(from_type)); in EmitFloatUnaryOp()
1898 if (primitive_util::IsFloatingPointType(prim_type)) { in EmitElementalClamp()
2580 primitive_util::IsFloatingPointType(component_element_type)) in MakeElementGenerator()
2764 } else if (primitive_util::IsFloatingPointType(primitive_type)) { in EmitMulAdd()
Dhlo_verifier.cc828 if (!primitive_util::IsFloatingPointType(element_type) && in HandleRng()
840 if (!primitive_util::IsFloatingPointType(element_type)) { in HandleRng()
986 !primitive_util::IsFloatingPointType(primitive_type) && in HandleIota()
2335 if (primitive_util::IsFloatingPointType(operand_element_type)) { in CheckElementwiseInstruction()
Deigh_expander.cc441 if (!primitive_util::IsFloatingPointType(type) && in BuildEigh()
Dshape_inference.cc217 if (!primitive_util::IsFloatingPointType(from_type) && in MaybeUpcast()
Dalgebraic_simplifier.cc2898 (primitive_util::IsFloatingPointType(ty) && in HandleMaximum()
2952 (primitive_util::IsFloatingPointType(ty) && in HandleMinimum()
Dhlo_parser.cc3722 } else if (primitive_util::IsFloatingPointType(shape.element_type())) { in ParseDenseLiteral()
/external/tensorflow/tensorflow/compiler/xla/client/lib/
Dself_adjoint_eig.cc51 if (!primitive_util::IsFloatingPointType(type) && in SelfAdjointEig()
Dconstants.h36 !(primitive_util::IsFloatingPointType(type) || in ConstantR0WithType()
Dmath_test.cc221 EXPECT_EQ(b.first_error().ok(), primitive_util::IsFloatingPointType(ty)); in XLA_TEST_F()
Dmath.cc91 if (!primitive_util::IsFloatingPointType(elem_ty)) { in EnsureOperandIsRealFp()
1741 if (!primitive_util::IsFloatingPointType(shape.element_type())) { in RegularizedIncompleteBeta()
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Ddot_op_emitter.cc421 CHECK(primitive_util::IsFloatingPointType(primitive_type) || in EmitTiledLlvmIrGemv()
1207 (primitive_util::IsFloatingPointType(element_type) || in GetDotImplementationStrategy()
1221 (primitive_util::IsFloatingPointType(element_type) || in GetDotImplementationStrategy()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dcudnn_fused_conv_rewriter.cc281 primitive_util::IsFloatingPointType(conv_ty) ? conv_ty : F32; in FuseBiasOrSideInput()
/external/tensorflow/tensorflow/compiler/xla/client/
Dxla_builder.cc4163 primitive_util::IsFloatingPointType(operand_element_type) in CompareTotalOrder()