Home
last modified time | relevance | path

Searched refs:AsInt32 (Results 1 – 19 of 19) sorted by relevance

/external/tensorflow/tensorflow/lite/experimental/microfrontend/
Daudio_microfrontend.cc47 data->sample_rate = m["sample_rate"].AsInt32(); in Init()
50 config.window.size_ms = m["window_size"].AsInt32(); in Init()
51 config.window.step_size_ms = m["window_step"].AsInt32(); in Init()
52 config.filterbank.num_channels = m["num_channels"].AsInt32(); in Init()
55 config.noise_reduction.smoothing_bits = m["smoothing_bits"].AsInt32(); in Init()
63 config.pcan_gain_control.gain_bits = m["gain_bits"].AsInt32(); in Init()
65 config.log_scale.scale_shift = m["scale_shift"].AsInt32(); in Init()
70 data->left_context = m["left_context"].AsInt32(); in Init()
71 data->right_context = m["right_context"].AsInt32(); in Init()
72 data->frame_stride = m["frame_stride"].AsInt32(); in Init()
[all …]
/external/deqp-deps/amber/src/amberscript/
Dparser.cc963 m->offset_in_bytes = token->AsInt32(); in ParseStruct()
973 m->array_stride_in_bytes = token->AsInt32(); in ParseStruct()
983 m->matrix_stride_in_bytes = token->AsInt32(); in ParseStruct()
1415 if (token->AsInt32() < 0) in ParseRun()
1430 if (token->AsInt32() <= 0) in ParseRun()
1635 if (!token->IsInteger() || token->AsInt32() < 0) in ParseExpect()
1646 if (token->AsInt32() < 0) in ParseExpect()
1665 if (!token->IsInteger() || token->AsInt32() <= 0) in ParseExpect()
1671 if (!token->IsInteger() || token->AsInt32() <= 0) in ParseExpect()
1690 if (!token->IsInteger() || token->AsInt32() < 0 || token->AsInt32() > 255) in ParseExpect()
[all …]
Dparser_expect_test.cc659 EXPECT_EQ(11U, probe->GetValues()[0].AsInt32()); in TEST_F()
688 EXPECT_EQ(44, probe->GetValues()[1].AsInt32()); in TEST_F()
697 EXPECT_EQ(44, probe->GetValues()[1].AsInt32()); in TEST_F()
877 EXPECT_EQ(11U, probe->GetValues()[0].AsInt32()); in TEST_F()
907 EXPECT_EQ(11U, probe->GetValues()[0].AsInt32()); in TEST_F()
937 EXPECT_EQ(11U, probe->GetValues()[0].AsInt32()); in TEST_F()
/external/deqp-deps/amber/src/
Dtokenizer_test.cc62 EXPECT_EQ(-123, next->AsInt32()); in TEST_F()
470 EXPECT_EQ(1, next->AsInt32()); in TEST_F()
476 EXPECT_EQ(2, next->AsInt32()); in TEST_F()
489 EXPECT_EQ(1, next->AsInt32()); in TEST_F()
506 EXPECT_EQ(1, next->AsInt32()); in TEST_F()
523 EXPECT_EQ(1, next->AsInt32()); in TEST_F()
533 EXPECT_EQ(2U, next->AsInt32()); in TEST_F()
Ddescriptor_set_and_binding_parser.cc32 if (token->AsInt32() < 0) { in Parse()
Dtokenizer.h72 int32_t AsInt32() const { return static_cast<int32_t>(uint_value_); } in AsInt32() function
Dbuffer.cc380 *(ValuesAs<int32_t>(ptr)) = value.AsInt32(); in WriteValueFromComponent()
/external/tensorflow/tensorflow/python/ops/
Ddata_flow_grad.py56 def AsInt32(x): function
59 inputs = [AsInt32(op.inputs[i]) for i in xrange(num_values)]
/external/tensorflow/tensorflow/lite/experimental/kernels/
Dhashtable.cc52 ConvertTensorType(static_cast<TensorType>(m[kKeyDtypeStr].AsInt32()), in InitHashtable()
54 ConvertTensorType(static_cast<TensorType>(m[kValueDtypeStr].AsInt32()), in InitHashtable()
Dctc_beam_search_decoder.cc45 option->beam_width = m["beam_width"].AsInt32(); in Init()
46 option->top_paths = m["top_paths"].AsInt32(); in Init()
/external/deqp-deps/amber/include/amber/
Dvalue.h51 int32_t AsInt32() const { return static_cast<int32_t>(uint_value_); } in AsInt32() function
/external/clang/lib/Analysis/
DFormatString.cpp249 lmKind = LengthModifier::AsInt32; in ParseLengthModifier()
536 case AsInt32: in toString()
780 case LengthModifier::AsInt32: in hasValidLengthModifier()
824 case LengthModifier::AsInt32: in hasStandardLengthModifier()
DScanfFormatString.cpp263 case LengthModifier::AsInt32: in getArgType()
302 case LengthModifier::AsInt32: in getArgType()
394 case LengthModifier::AsInt32: in getArgType()
DPrintfFormatString.cpp418 case LengthModifier::AsInt32: in getArgType()
452 case LengthModifier::AsInt32: in getArgType()
509 case LengthModifier::AsInt32: in getArgType()
/external/tensorflow/tensorflow/lite/kernels/
Ddetection_postprocess.cc101 op_data->max_detections = m["max_detections"].AsInt32(); in Init()
102 op_data->max_classes_per_detection = m["max_classes_per_detection"].AsInt32(); in Init()
106 op_data->detections_per_class = m["detections_per_class"].AsInt32(); in Init()
115 op_data->num_classes = m["num_classes"].AsInt32(); in Init()
/external/clang/include/clang/Analysis/Analyses/
DFormatString.h77 AsInt32, // 'I32' (MSVCRT, like __int32) enumerator
103 case AsInt32: in getLength()
/external/deqp-deps/amber/src/vkscript/
Dcommand_parser.cc611 if (token->AsInt32() < 0) { in ProcessSSBO()
613 std::to_string(token->AsInt32())); in ProcessSSBO()
772 if (token->AsInt32() < 0) { in ProcessUniform()
774 std::to_string(token->AsInt32())); in ProcessUniform()
778 if (token->AsInt32() % buf_size != 0) in ProcessUniform()
/external/flatbuffers/include/flatbuffers/
Dflexbuffers.h420 int32_t AsInt32() const { return static_cast<int32_t>(AsInt64()); } in AsInt32() function
722 template<> inline int32_t Reference::As<int32_t>() const { return AsInt32(); }
/external/tensorflow/tensorflow/lite/toco/tflite/
Doperator.cc1340 op->beam_width = m["beam_width"].AsInt32(); in ReadOptions()
1341 op->top_paths = m["top_paths"].AsInt32(); in ReadOptions()