Home
last modified time | relevance | path

Searched refs:SignificandWidth (Results 1 – 7 of 7) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/
Dprimitive_util_test.cc46 EXPECT_EQ(primitive_util::SignificandWidth(F32), 24); in TEST()
47 EXPECT_EQ(primitive_util::SignificandWidth(BF16), 8); in TEST()
Dprimitive_util.cc30 int SignificandWidth(PrimitiveType type) { in SignificandWidth() function
51 int trailing_significand_field_width = SignificandWidth(type) - 1; in ExponentWidth()
Dprimitive_util.h34 int SignificandWidth(PrimitiveType type);
Dshape_util.h287 ? primitive_util::SignificandWidth(shape.element_type()) in HigherPrecisionElementType()
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dcast_op.cc67 xla::primitive_util::SignificandWidth(src_type_) - in Compile()
68 xla::primitive_util::SignificandWidth(dst_type_); in Compile()
/external/tensorflow/tensorflow/compiler/xla/client/lib/
Dprng.cc479 int num_mantissa_bits = primitive_util::SignificandWidth(value_type) - 1; in ConvertRandomBitsToUniformFloatingPoint()
/external/tensorflow/tensorflow/compiler/xla/service/
Delemental_ir_emitter.cc86 int src_mantissa_bits = primitive_util::SignificandWidth(src_ty) - 1; in EmitReducePrecisionIR()
204 /*dest_mantissa_bits=*/primitive_util::SignificandWidth(BF16) - 1, in EmitF32ToBF16()