Home
last modified time | relevance | path

Searched refs:AsBool (Results 1 – 25 of 25) sorted by relevance

/external/tensorflow/tensorflow/lite/experimental/microfrontend/
Daudio_microfrontend.cc60 config.pcan_gain_control.enable_pcan = m["enable_pcan"].AsBool(); in Init()
64 config.log_scale.enable_log = m["enable_log"].AsBool(); in Init()
73 data->zero_padding = m["zero_padding"].AsBool(); in Init()
75 data->out_float = m["out_float"].AsBool(); in Init()
/external/deqp-deps/SPIRV-Tools/source/opt/
Dset_spec_constant_default_value_pass.cpp49 if (!strcmp(text, "true") && type->AsBool()) { in ParseDefaultValueStr()
51 } else if (!strcmp(text, "false") && type->AsBool()) { in ParseDefaultValueStr()
92 if (type->AsBool()) { in ParseDefaultValueBitPattern()
Dfold_spec_constant_op_and_composite_pass.cpp299 if (type->AsBool()) { in IsValidTypeForComponentWiseOperation()
304 if (vt->element_type()->AsBool()) { in IsValidTypeForComponentWiseOperation()
339 if (result_type->AsInteger() || result_type->AsBool()) { in DoComponentWiseOperation()
Dconstants.cpp205 } else if (auto* bt = type->AsBool()) { in CreateConstant()
219 if (c->type()->AsBool() || c->type()->AsInteger() || in CreateConstant()
Dmerge_return_pass.cpp451 context()->get_type_mgr()->GetRegisteredType(&temp)->AsBool(); in RecordReturned()
528 analysis::Bool* bool_type = type_mgr->GetType(bool_id)->AsBool(); in AddReturnFlag()
Dconstants.h268 return MakeUnique<BoolConstant>(type_->AsBool(), value_); in CopyBoolConstant()
Dtypes.cpp276 assert(type->AsBool() || type->AsInteger() || type->AsFloat()); in Vector()
Dconst_folding_rules.cpp467 assert(result_type->AsBool()); \
Dfolding_rules.cpp1659 if (type->AsBool()) { in RedundantSelect()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dset_spec_constant_default_value_pass.cpp49 if (!strcmp(text, "true") && type->AsBool()) { in ParseDefaultValueStr()
51 } else if (!strcmp(text, "false") && type->AsBool()) { in ParseDefaultValueStr()
92 if (type->AsBool()) { in ParseDefaultValueBitPattern()
Dfold_spec_constant_op_and_composite_pass.cpp299 if (type->AsBool()) { in IsValidTypeForComponentWiseOperation()
304 if (vt->element_type()->AsBool()) { in IsValidTypeForComponentWiseOperation()
339 if (result_type->AsInteger() || result_type->AsBool()) { in DoComponentWiseOperation()
Dconstants.cpp205 } else if (auto* bt = type->AsBool()) { in CreateConstant()
219 if (c->type()->AsBool() || c->type()->AsInteger() || in CreateConstant()
Dmerge_return_pass.cpp467 context()->get_type_mgr()->GetRegisteredType(&temp)->AsBool(); in RecordReturned()
544 analysis::Bool* bool_type = type_mgr->GetType(bool_id)->AsBool(); in AddReturnFlag()
Dconstants.h268 return MakeUnique<BoolConstant>(type_->AsBool(), value_); in CopyBoolConstant()
Dtypes.cpp276 assert(type->AsBool() || type->AsInteger() || type->AsFloat()); in Vector()
Dconst_folding_rules.cpp467 assert(result_type->AsBool()); \
Dfolding_rules.cpp1659 if (type->AsBool()) { in RedundantSelect()
/external/tensorflow/tensorflow/lite/kernels/
Daudio_spectrogram.cc55 data->magnitude_squared = m["magnitude_squared"].AsBool(); in Init()
Ddetection_postprocess.cc108 op_data->use_regular_non_max_suppression = m["use_regular_nms"].AsBool(); in Init()
/external/flatbuffers/tests/
Dtest.cpp2280 TEST_EQ(vec[4].AsBool(), false); // Check if value is false in FlexBuffersTest()
2287 TEST_EQ(map["bool"].AsBool(), true); in FlexBuffersTest()
2305 TEST_EQ(vec[4].AsBool(), false); // Is false before change in FlexBuffersTest()
2307 TEST_EQ(vec[4].AsBool(), true); // Changed bool is now true in FlexBuffersTest()
2321 TEST_EQ(jmap["c"].AsBool(), true); // Parsed correctly to true in FlexBuffersTest()
2323 TEST_EQ(jmap["d"].AsBool(), false); // Parsed correctly to false in FlexBuffersTest()
/external/swiftshader/third_party/SPIRV-Tools/source/reduce/
Dstructured_loop_to_selection_reduction_opportunity.cpp222 context_->get_type_mgr()->GetRegisteredType(&temp)->AsBool(); in ChangeLoopToSelection()
/external/tensorflow/tensorflow/lite/experimental/kernels/
Dctc_beam_search_decoder.cc46 option->merge_repeated = m["merge_repeated"].AsBool(); in Init()
/external/deqp-deps/SPIRV-Tools/source/reduce/
Dstructured_loop_to_selection_reduction_opportunity.cpp220 context_->get_type_mgr()->GetRegisteredType(&temp)->AsBool(); in ChangeLoopToSelection()
/external/flatbuffers/include/flatbuffers/
Dflexbuffers.h387 bool AsBool() const { in AsBool() function
531 s += AsBool() ? "true" : "false"; in ToString()
718 template<> inline bool Reference::As<bool>() const { return AsBool(); }
/external/tensorflow/tensorflow/lite/toco/tflite/
Doperator.cc1768 op->merge_repeated = m["merge_repeated"].AsBool(); in ReadOptions()
2131 (*attr)[key].set_b(value.AsBool()); in ReadOptions()
2133 op->quantized = value.AsBool(); in ReadOptions()
2136 op->support_output_type_float_in_quantized_op = value.AsBool(); in ReadOptions()