/external/tensorflow/tensorflow/compiler/xla/service/ |
D | reduce_precision_insertion.h | 40 const int exponent_bits, const int mantissa_bits, in ReducePrecisionInsertion() argument 44 mantissa_bits_(mantissa_bits), in ReducePrecisionInsertion() 54 mantissa_bits_(reduce_precision_options.mantissa_bits()), in ReducePrecisionInsertion() 75 const int exponent_bits, const int mantissa_bits, 129 instruction->mantissa_bits() <= mantissa_bits_; in is_redundant()
|
D | reduce_precision_insertion.cc | 142 user->mantissa_bits() == mantissa_bits_) { in insert_on_inputs() 268 const int mantissa_bits, in make_options_proto() argument 274 options.set_mantissa_bits(mantissa_bits); in make_options_proto()
|
D | shape_inference.h | 260 const int mantissa_bits);
|
D | elemental_ir_emitter.cc | 66 int64 mantissa_bits, in EmitReducePrecisionFloat() argument 75 if (mantissa_bits < 23) { in EmitReducePrecisionFloat() 77 const uint32_t last_mantissa_bit_mask = 1u << (23 - mantissa_bits); in EmitReducePrecisionFloat() 86 (23 - mantissa_bits)); in EmitReducePrecisionFloat() 163 if (mantissa_bits > 0) { in EmitReducePrecisionFloat() 1167 /*mantissa_bits=*/hlo->mantissa_bits(), b_); in EmitReducePrecision()
|
D | hlo_instructions.cc | 1732 const int mantissa_bits) in HloReducePrecisionInstruction() argument 1735 mantissa_bits_(mantissa_bits) { in HloReducePrecisionInstruction() 1760 mantissa_bits() == casted_other.mantissa_bits(); in IdenticalSlowPath() 1769 shape, new_operands[0], exponent_bits(), mantissa_bits()); in CloneWithNewOperandsImpl()
|
D | hlo_evaluator_typed_visitor.h | 2537 const uint32_t mantissa_bits = reduce_precision->mantissa_bits(); in HandleReducePrecision() 2546 if (mantissa_bits < 23) { in HandleReducePrecision() 2547 const uint32_t last_mantissa_bit_mask = 1u << (23 - mantissa_bits); in HandleReducePrecision() 2555 (value_as_int & last_mantissa_bit_mask) >> (23 - mantissa_bits); in HandleReducePrecision() 2611 reduced_result = mantissa_bits > 0 in HandleReducePrecision()
|
D | hlo_instruction.h | 472 const int mantissa_bits); 1507 int32 mantissa_bits() const;
|
D | hlo_instruction.cc | 356 shape, operands(0), proto.exponent_bits(), proto.mantissa_bits()); in CreateFromProto() 827 const int mantissa_bits) { in CreateReducePrecision() argument 829 shape, operand, exponent_bits, mantissa_bits); in CreateReducePrecision() 3392 int32 HloInstruction::mantissa_bits() const { in mantissa_bits() function in xla::HloInstruction 3393 return Cast<HloReducePrecisionInstruction>(this)->mantissa_bits(); in mantissa_bits()
|
D | hlo_instructions.h | 937 const int mantissa_bits); 941 int32 mantissa_bits() const { return mantissa_bits_; } in mantissa_bits() function
|
D | shape_inference.cc | 462 const int mantissa_bits) { in InferReducePrecisionShape() argument 476 if (mantissa_bits < 0) { in InferReducePrecisionShape() 479 mantissa_bits); in InferReducePrecisionShape()
|
D | hlo.proto | 98 int32 mantissa_bits = 19; field
|
D | hlo_parser.cc | 1433 optional<int64> mantissa_bits; in ParseInstructionRhs() local 1437 &mantissa_bits}; in ParseInstructionRhs() 1445 static_cast<int>(*mantissa_bits))); in ParseInstructionRhs()
|
D | hlo_verifier.cc | 217 reduce_precision->mantissa_bits())); in HandleReducePrecision()
|
D | hlo_parser_test.cc | 1096 ROOT reduce-precision = f32[1]{0} reduce-precision(constant), exponent_bits=8, mantissa_bits=10 in CreateTestCases()
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_format_float.c | 75 unsigned mantissa_bits, in lp_build_float_to_smallfloat() argument 88 unsigned exponent_start = mantissa_start + mantissa_bits; in lp_build_float_to_smallfloat() 119 ~((1 << (23 - mantissa_bits)) - 1) & in lp_build_float_to_smallfloat() 138 (((1 << mantissa_bits) - 1) << (23 - mantissa_bits))); in lp_build_float_to_smallfloat() 198 unsigned maskbits = (1 << (mantissa_bits + exponent_bits)) - 1; in lp_build_float_to_smallfloat() 200 maskbits << (23 - mantissa_bits)); in lp_build_float_to_smallfloat() 284 unsigned mantissa_bits, in lp_build_smallfloat_to_float() argument 292 unsigned exponent_start = mantissa_start + mantissa_bits; in lp_build_smallfloat_to_float() 309 ((1 << (mantissa_bits + exponent_bits)) - 1) in lp_build_smallfloat_to_float() 310 << (23 - mantissa_bits)); in lp_build_smallfloat_to_float()
|
D | lp_bld_format.h | 187 unsigned mantissa_bits, 196 unsigned mantissa_bits,
|
/external/tensorflow/tensorflow/compiler/xla/ |
D | debug_options_parsers_test.cc | 46 EXPECT_EQ(proto.mantissa_bits(), 10); in TEST() 61 EXPECT_EQ(proto.mantissa_bits(), 10); in TEST() 76 EXPECT_EQ(proto.mantissa_bits(), 10); in TEST() 89 EXPECT_EQ(proto.mantissa_bits(), 10); in TEST()
|
D | xla.proto | 50 uint32 mantissa_bits = 3; field
|
/external/tensorflow/tensorflow/compiler/xla/tests/ |
D | reduce_precision_test.cc | 210 int mantissa_bits = mantissa_sizes[index]; in XLA_TEST_P() local 237 ReducePrecision(a, exponent_bits, mantissa_bits); in XLA_TEST_P()
|
/external/tensorflow/tensorflow/compiler/xla/client/ |
D | xla_builder.h | 541 const int mantissa_bits); 967 const int mantissa_bits); 1812 const int mantissa_bits);
|
D | xla_builder.cc | 2295 const int mantissa_bits) { in ReducePrecision() argument 2301 operand_shape, exponent_bits, mantissa_bits)); in ReducePrecision() 2304 instr.set_mantissa_bits(mantissa_bits); in ReducePrecision() 3419 const int mantissa_bits) { in ReducePrecision() argument 3421 mantissa_bits); in ReducePrecision()
|
/external/tensorflow/tensorflow/compiler/xla/g3doc/ |
D | operation_semantics.md | 1838 <b> `ReducePrecision(operand, mantissa_bits, exponent_bits)` </b> 1844 `mantissa_bits` | `int32` | number of mantissa bits in lower-precision format
|