/external/tensorflow/tensorflow/lite/experimental/microfrontend/ |
D | audio_microfrontend.cc | 53 config.filterbank.upper_band_limit = m["upper_band_limit"].AsFloat(); in Init() 54 config.filterbank.lower_band_limit = m["lower_band_limit"].AsFloat(); in Init() 56 config.noise_reduction.even_smoothing = m["even_smoothing"].AsFloat(); in Init() 57 config.noise_reduction.odd_smoothing = m["odd_smoothing"].AsFloat(); in Init() 59 m["min_signal_remaining"].AsFloat(); in Init() 61 config.pcan_gain_control.strength = m["pcan_strength"].AsFloat(); in Init() 62 config.pcan_gain_control.offset = m["pcan_offset"].AsFloat(); in Init()
|
/external/deqp-deps/SPIRV-Tools/source/opt/ |
D | constants.cpp | 27 assert(type()->AsFloat() != nullptr && type()->AsFloat()->width() == 32); in GetFloat() 38 assert(type()->AsFloat() != nullptr && type()->AsFloat()->width() == 64); in GetDouble() 49 assert(type()->AsFloat() != nullptr); in GetValueAsDouble() 50 if (type()->AsFloat()->width() == 32) { in GetValueAsDouble() 53 assert(type()->AsFloat()->width() == 64); in GetValueAsDouble() 211 } else if (auto* ft = type->AsFloat()) { in CreateConstant() 220 c->type()->AsFloat()) { in CreateConstant()
|
D | const_folding_rules.cpp | 27 if (type->AsFloat()) { in HasFloatingPoint() 30 return vec_type->element_type()->AsFloat() != nullptr; in HasFloatingPoint() 157 const analysis::Float* float_type = element_type->AsFloat(); in FoldVectorTimesScalar() 356 const analysis::Float* float_type = a->type()->AsFloat(); in FoldFToIOp() 387 const analysis::Float* float_type = result_type->AsFloat(); in FoldIToFOp() 420 const analysis::Float* float_type_in_macro = result_type->AsFloat(); \ 469 const analysis::Float* float_type = a->type()->AsFloat(); \ 537 assert(new_type->AsFloat() && "OpDot should have a float return type."); in FoldOpDotWithConstants() 538 const analysis::Float* float_type = new_type->AsFloat(); in FoldOpDotWithConstants() 606 const analysis::Float* float_type = result_type->AsFloat(); in FoldFNegateOp() [all …]
|
D | folding_rules.cpp | 42 } else if (const analysis::Float* float_type = type->AsFloat()) { in ElementWidth() 52 if (type->AsFloat()) { in HasFloatingPoint() 55 return vec_type->element_type()->AsFloat() != nullptr; in HasFloatingPoint() 92 assert(c->type()->AsFloat()); in NegateFloatingPointConstant() 93 uint32_t width = c->type()->AsFloat()->width(); in NegateFloatingPointConstant() 149 if (component_type->AsFloat()) { in NegateVectorConstant() 168 } else if (c->type()->AsFloat()) { in NegateConstant() 181 assert(c->type()->AsFloat()); in Reciprocal() 183 uint32_t width = c->type()->AsFloat()->width(); in Reciprocal() 417 assert(type->AsFloat()); in PerformFloatingPointOperation() [all …]
|
D | set_spec_constant_default_value_pass.cpp | 59 } else if (const auto* FT = type->AsFloat()) { in ParseDefaultValueStr() 104 } else if (const auto* FT = type->AsFloat()) { in ParseDefaultValueBitPattern()
|
D | constants.h | 229 return MakeUnique<FloatConstant>(type_->AsFloat(), words_); in CopyFloatConstant() 238 assert(type()->AsFloat()->width() == 32 && in GetFloatValue() 247 assert(type()->AsFloat()->width() == 64 && in GetDoubleValue()
|
D | types.h | 243 Float* AsFloat() override { return this; } in AsFloat() function 244 const Float* AsFloat() const override { return this; } in AsFloat() function
|
D | types.cpp | 259 const Float* ft = that->AsFloat(); in IsSameImpl() 276 assert(type->AsBool() || type->AsInteger() || type->AsFloat()); in Vector()
|
D | type_manager.cpp | 240 {SPV_OPERAND_TYPE_LITERAL_INTEGER, {type->AsFloat()->width()}}}); in GetTypeInstruction()
|
/external/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | constants.cpp | 27 assert(type()->AsFloat() != nullptr && type()->AsFloat()->width() == 32); in GetFloat() 38 assert(type()->AsFloat() != nullptr && type()->AsFloat()->width() == 64); in GetDouble() 49 assert(type()->AsFloat() != nullptr); in GetValueAsDouble() 50 if (type()->AsFloat()->width() == 32) { in GetValueAsDouble() 53 assert(type()->AsFloat()->width() == 64); in GetValueAsDouble() 211 } else if (auto* ft = type->AsFloat()) { in CreateConstant() 220 c->type()->AsFloat()) { in CreateConstant()
|
D | const_folding_rules.cpp | 27 if (type->AsFloat()) { in HasFloatingPoint() 30 return vec_type->element_type()->AsFloat() != nullptr; in HasFloatingPoint() 157 const analysis::Float* float_type = element_type->AsFloat(); in FoldVectorTimesScalar() 356 const analysis::Float* float_type = a->type()->AsFloat(); in FoldFToIOp() 387 const analysis::Float* float_type = result_type->AsFloat(); in FoldIToFOp() 420 const analysis::Float* float_type_in_macro = result_type->AsFloat(); \ 469 const analysis::Float* float_type = a->type()->AsFloat(); \ 537 assert(new_type->AsFloat() && "OpDot should have a float return type."); in FoldOpDotWithConstants() 538 const analysis::Float* float_type = new_type->AsFloat(); in FoldOpDotWithConstants() 606 const analysis::Float* float_type = result_type->AsFloat(); in FoldFNegateOp() [all …]
|
D | folding_rules.cpp | 42 } else if (const analysis::Float* float_type = type->AsFloat()) { in ElementWidth() 52 if (type->AsFloat()) { in HasFloatingPoint() 55 return vec_type->element_type()->AsFloat() != nullptr; in HasFloatingPoint() 92 assert(c->type()->AsFloat()); in NegateFloatingPointConstant() 93 uint32_t width = c->type()->AsFloat()->width(); in NegateFloatingPointConstant() 149 if (component_type->AsFloat()) { in NegateVectorConstant() 168 } else if (c->type()->AsFloat()) { in NegateConstant() 181 assert(c->type()->AsFloat()); in Reciprocal() 183 uint32_t width = c->type()->AsFloat()->width(); in Reciprocal() 417 assert(type->AsFloat()); in PerformFloatingPointOperation() [all …]
|
D | set_spec_constant_default_value_pass.cpp | 59 } else if (const auto* FT = type->AsFloat()) { in ParseDefaultValueStr() 104 } else if (const auto* FT = type->AsFloat()) { in ParseDefaultValueBitPattern()
|
D | constants.h | 229 return MakeUnique<FloatConstant>(type_->AsFloat(), words_); in CopyFloatConstant() 238 assert(type()->AsFloat()->width() == 32 && in GetFloatValue() 247 assert(type()->AsFloat()->width() == 64 && in GetDoubleValue()
|
D | types.h | 243 Float* AsFloat() override { return this; } in AsFloat() function 244 const Float* AsFloat() const override { return this; } in AsFloat() function
|
D | types.cpp | 259 const Float* ft = that->AsFloat(); in IsSameImpl() 276 assert(type->AsBool() || type->AsInteger() || type->AsFloat()); in Vector()
|
D | type_manager.cpp | 240 {SPV_OPERAND_TYPE_LITERAL_INTEGER, {type->AsFloat()->width()}}}); in GetTypeInstruction()
|
/external/tensorflow/tensorflow/lite/kernels/ |
D | detection_postprocess.cc | 111 m["nms_score_threshold"].AsFloat(); in Init() 112 op_data->intersection_over_union_threshold = m["nms_iou_threshold"].AsFloat(); in Init() 114 op_data->scale_values.y = m["y_scale"].AsFloat(); in Init() 115 op_data->scale_values.x = m["x_scale"].AsFloat(); in Init() 116 op_data->scale_values.h = m["h_scale"].AsFloat(); in Init() 117 op_data->scale_values.w = m["w_scale"].AsFloat(); in Init()
|
/external/flatbuffers/include/flatbuffers/ |
D | flexbuffers.h | 477 float AsFloat() const { return static_cast<float>(AsDouble()); } in AsFloat() function 731 template<> inline float Reference::As<float>() const { return AsFloat(); }
|
/external/tensorflow/tensorflow/lite/toco/tflite/ |
D | operator.cc | 2128 (*attr)[key].set_f(value.AsFloat()); in ReadOptions() 2151 list->add_f(vector[i].AsFloat()); in ReadOptions()
|
/external/flatbuffers/tests/ |
D | test.cpp | 2303 TEST_EQ(vec[2].AsFloat(), 2.0f); in FlexBuffersTest()
|