Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/compiler/xla/tests/
Diota_test.cc75 if (primitive_util::IsFloatingPointType(element_type)) { in TEST_P()
102 if (primitive_util::IsFloatingPointType(element_type)) { in TEST_P()
127 if (primitive_util::IsFloatingPointType(element_type)) { in TEST_P()
Dfusion_test.cc132 if (primitive_util::IsFloatingPointType(prim_type)) { in TestElementwise2D()
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dcast_op.cc57 xla::primitive_util::IsFloatingPointType(src_type_) && in Compile()
58 xla::primitive_util::IsFloatingPointType(dst_type_), in Compile()
/external/tensorflow/tensorflow/compiler/xla/client/lib/
Dcomparators.cc124 if (primitive_util::IsFloatingPointType(operand_types[0])) { in CreateScalarComparisonComputation()
Dconstants.h36 !(primitive_util::IsFloatingPointType(type) || in ConstantR0WithType()
Dmath_test.cc209 EXPECT_EQ(b.first_error().ok(), primitive_util::IsFloatingPointType(ty)); in XLA_TEST_F()
Dself_adjoint_eig.cc414 if (!primitive_util::IsFloatingPointType(type)) { in SelfAdjointEig()
Dmath.cc59 if (!primitive_util::IsFloatingPointType(elem_ty)) { in EnsureOperandIsRealFp()
/external/tensorflow/tensorflow/compiler/xla/
Dprimitive_util.h138 bool IsFloatingPointType(PrimitiveType type);
Dprimitive_util.cc42 bool IsFloatingPointType(PrimitiveType type) { in IsFloatingPointType() function
Dshape_util.cc325 return primitive_util::IsFloatingPointType(shape.element_type()); in ElementIsFloating()
/external/tensorflow/tensorflow/compiler/xla/service/
Delemental_ir_emitter.cc242 if (primitive_util::IsFloatingPointType(to_type)) { in EmitIntegerUnaryOp()
341 CHECK(primitive_util::IsFloatingPointType(from_type)) << from_type; in EmitFloatUnaryOp()
374 if (primitive_util::IsFloatingPointType(to_type)) { in EmitFloatUnaryOp()
393 CHECK(primitive_util::IsFloatingPointType(from_type)); in EmitFloatUnaryOp()
1693 if (primitive_util::IsFloatingPointType(prim_type)) { in EmitElementalClamp()
2191 } else if (primitive_util::IsFloatingPointType(primitive_type)) { in EmitElementalDot()
2342 primitive_util::IsFloatingPointType(component_element_type)) in MakeElementGenerator()
Dhlo_verifier.cc303 if (!primitive_util::IsFloatingPointType(element_type) && in HandleRng()
315 if (!primitive_util::IsFloatingPointType(element_type)) { in HandleRng()
Dhlo_parser.cc2307 } else if (primitive_util::IsFloatingPointType(shape.element_type())) { in ParseDenseLiteral()
2379 } else if (primitive_util::IsFloatingPointType(shape.element_type())) { in ParseSparseLiteral()
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Ddot_op_emitter.cc266 CHECK(primitive_util::IsFloatingPointType(primitive_type) || in EmitTiledLlvmIrGemv()
831 (primitive_util::IsFloatingPointType(element_type) || in GetDotImplementationStrategy()
/external/tensorflow/tensorflow/compiler/xla/client/
Dxla_builder.cc1660 if (primitive_util::IsFloatingPointType(operand_types[0])) { in Sort()