Home
last modified time | relevance | path

Searched refs:f32_ (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/lite/delegates/gpu/cl/kernels/
Dflt_type.cc25 : f32_(precision == CalculationsPrecision::F32), active_(true) { in FLT()
26 if (f32_) { in FLT()
34 return f32_ ? static_cast<const void*>(&f_value_) in GetData()
39 const std::string type = f32_ ? "float" : "half"; in GetDeclaration()
44 : f32_(precision == CalculationsPrecision::F32), active_(true) { in FLT2()
45 if (f32_) { in FLT2()
53 return f32_ ? static_cast<const void*>(&f_value_) in GetData()
58 const std::string type = f32_ ? "float2" : "half2"; in GetDeclaration()
63 : f32_(precision == CalculationsPrecision::F32), active_(true) { in FLT4()
64 if (f32_) { in FLT4()
[all …]
Dflt_type.h34 size_t GetSize() const { return f32_ ? sizeof(float) : sizeof(half); } in GetSize()
43 bool f32_; variable
54 size_t GetSize() const { return f32_ ? 8 : 4; } in GetSize()
63 bool f32_; variable
74 size_t GetSize() const { return f32_ ? sizeof(float4) : sizeof(half4); } in GetSize()
83 bool f32_; variable
/external/tensorflow/tensorflow/compiler/xla/service/
Dshape_inference_test.cc40 const Shape f32_ = ShapeUtil::MakeShape(F32, {}); member in xla::__anone01174500111::ShapeInferenceTest
65 ProgramShape to_apply = ShapeUtil::MakeProgramShape({f32_, f32_}, f32_); in ExpectInferredReduceShape()
67 {&arg, &f32_}, dimensions_to_reduce, to_apply); in ExpectInferredReduceShape()
93 {ShapeUtil::MakeShape(F32, {}), ShapeUtil::MakeShape(F32, {})}, f32_); in SelectAndScatterShapeInferenceTest()
113 Shape tuple = ShapeUtil::MakeTupleShape({s32_, f32_}); in TEST_F()
162 ShapeUtil::MakeTupleShape({f32_, f32_}), in TEST_F()
163 ShapeUtil::MakeTupleShape({f32_, f32_})); in TEST_F()
178 ShapeInference::InferTernaryOpShape(HloOpcode::kClamp, f32_, f32_, f32_); in TEST_F()
180 ASSERT_TRUE(ShapeUtil::Equal(f32_, inferred_status.ValueOrDie())); in TEST_F()
185 HloOpcode::kClamp, f32_, matrix_64_48_, matrix_64_48_); in TEST_F()
[all …]
/external/flatbuffers/tests/
Dmonster_test_generated.rs1693 builder.add_f32_(args.f32_); in create()
1749 pub fn f32_(&self) -> f32 { in f32_() method
1775 pub f32_: f32, field
1792 f32_: 0.0, in default()
1837 pub fn add_f32_(&mut self, f32_: f32) { in add_f32_()
1838 self.fbb_.push_slot::<f32>(TypeAliases::VT_F32_, f32_, 0.0); in add_f32_()