Home
last modified time | relevance | path

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

12

/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/tensorflow/tensorflow/lite/kernels/perception/
Dmax_pool_with_argmax.cc137 TFLITE_CHECK_EQ(pool_size[0].AsInt32(), 1); in Init()
138 TFLITE_CHECK_EQ(pool_size[3].AsInt32(), 1); in Init()
139 op_data->params.filter_height = pool_size[1].AsInt32(); in Init()
140 op_data->params.filter_width = pool_size[2].AsInt32(); in Init()
145 TFLITE_CHECK_EQ(strides[0].AsInt32(), 1); in Init()
146 TFLITE_CHECK_EQ(strides[3].AsInt32(), 1); in Init()
147 op_data->params.stride_height = strides[1].AsInt32(); in Init()
148 op_data->params.stride_width = strides[2].AsInt32(); in Init()
/external/tensorflow/tensorflow/lite/kernels/
Dpooling3d.cc266 TFLITE_CHECK_EQ(pool_size[0].AsInt32(), 1); in Init()
267 TFLITE_CHECK_EQ(pool_size[4].AsInt32(), 1); in Init()
268 opdata->params.filter_depth = pool_size[1].AsInt32(); in Init()
269 opdata->params.filter_height = pool_size[2].AsInt32(); in Init()
270 opdata->params.filter_width = pool_size[3].AsInt32(); in Init()
275 TFLITE_CHECK_EQ(strides[0].AsInt32(), 1); in Init()
276 TFLITE_CHECK_EQ(strides[4].AsInt32(), 1); in Init()
277 opdata->params.stride_depth = strides[1].AsInt32(); in Init()
278 opdata->params.stride_height = strides[2].AsInt32(); in Init()
279 opdata->params.stride_width = strides[3].AsInt32(); in Init()
Ddetection_postprocess.cc107 op_data->max_detections = m["max_detections"].AsInt32(); in Init()
108 op_data->max_classes_per_detection = m["max_classes_per_detection"].AsInt32(); in Init()
112 op_data->detections_per_class = m["detections_per_class"].AsInt32(); in Init()
121 op_data->num_classes = m["num_classes"].AsInt32(); in Init()
/external/armnn/delegate/classic/src/
DPooling.hpp203 descriptor.m_PoolWidth = poolDims[3].AsInt32(); in VisitPooling3dOperator()
204 descriptor.m_PoolHeight = poolDims[2].AsInt32(); in VisitPooling3dOperator()
205 descriptor.m_PoolDepth = poolDims[1].AsInt32(); in VisitPooling3dOperator()
209 descriptor.m_StrideX = strideDims[3].AsInt32(); in VisitPooling3dOperator()
210 descriptor.m_StrideY = strideDims[2].AsInt32(); in VisitPooling3dOperator()
211 descriptor.m_StrideZ = strideDims[1].AsInt32(); in VisitPooling3dOperator()
/external/tensorflow/tensorflow/lite/experimental/acceleration/mini_benchmark/
Ddecode_jpeg.cc53 op_data->height = m["height"].AsInt32(); in Init()
54 op_data->width = m["width"].AsInt32(); in Init()
55 op_data->num_images = m["num_images"].AsInt32(); in Init()
56 op_data->channels = m["channels"].AsInt32(); in Init()
Dcall.cc185 op_data->subgraph_index = map["subgraph_index"].AsInt32(); in Init()
186 op_data->loop_count = map["loop_count"].AsInt32(); in Init()
/external/libtextclassifier/native/utils/tflite/
Dblacklist_base.h55 : categories_(custom_options["categories"].AsInt32()), in BlacklistOpBase()
56 negative_categories_(custom_options["negative_categories"].AsInt32()) {} in BlacklistOpBase()
Dstring_projection_base.cc55 num_hash_(custom_options["num_hash"].AsInt32()), in StringProjectionOpBase()
56 num_bits_(custom_options["num_bits"].AsInt32()), in StringProjectionOpBase()
61 .ngram_size = custom_options["ngram_size"].AsInt32(), in StringProjectionOpBase()
62 .max_skip_size = custom_options["max_skip_size"].AsInt32(), in StringProjectionOpBase()
Dblacklist.cc37 skipgram_finder_(custom_options["max_skip_size"].AsInt32()), in BlacklistOp()
43 int category = blacklist_category[i].AsInt32(); in BlacklistOp()
/external/tensorflow/tensorflow/python/ops/
Ddata_flow_grad.py52 def AsInt32(x): function
56 inputs = [AsInt32(op.inputs[i]) for i in range(num_values)]
/external/deqp-deps/amber/src/
Dtokenizer_test.cc62 EXPECT_EQ(-123, next->AsInt32()); in TEST_F()
520 EXPECT_EQ(1, next->AsInt32()); in TEST_F()
526 EXPECT_EQ(2, next->AsInt32()); in TEST_F()
539 EXPECT_EQ(1, next->AsInt32()); in TEST_F()
556 EXPECT_EQ(1, next->AsInt32()); in TEST_F()
573 EXPECT_EQ(1, next->AsInt32()); in TEST_F()
583 EXPECT_EQ(2u, next->AsInt32()); in TEST_F()
Ddescriptor_set_and_binding_parser.cc50 if (token->AsInt32() < 0) { in Parse()
Dtokenizer.h74 int32_t AsInt32() const { return static_cast<int32_t>(uint_value_); } in AsInt32() function
/external/deqp-deps/amber/src/amberscript/
Dparser.cc2042 m->offset_in_bytes = token->AsInt32(); in ParseStruct()
2052 m->array_stride_in_bytes = token->AsInt32(); in ParseStruct()
2062 m->matrix_stride_in_bytes = token->AsInt32(); in ParseStruct()
2815 if (token->AsInt32() < 0) in ParseRun()
2824 if (token->AsInt32() <= 0) in ParseRun()
2834 if (token->AsInt32() <= 0) in ParseRun()
2844 if (token->AsInt32() < 0) in ParseRun()
3279 if (!token->IsInteger() || token->AsInt32() < 0) in ParseExpect()
3290 if (token->AsInt32() < 0) in ParseExpect()
3309 if (!token->IsInteger() || token->AsInt32() <= 0) in ParseExpect()
[all …]
Dparser_expect_test.cc659 EXPECT_EQ(11, 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(11, probe->GetValues()[0].AsInt32()); in TEST_F()
907 EXPECT_EQ(11, probe->GetValues()[0].AsInt32()); in TEST_F()
937 EXPECT_EQ(11, probe->GetValues()[0].AsInt32()); in TEST_F()
/external/tflite-support/tensorflow_lite_support/custom_ops/kernel/
Dngrams.cc63 : width(m["width"].AsInt32()), in NgramsAttributes()
64 axis(m["axis"].AsInt32()), in NgramsAttributes()
/external/starlark-go/starlark/
Deval.go641 i, err := AsInt32(y)
675 i, err := AsInt32(y)
1089 y, err := AsInt32(y)
1139 i, err := AsInt32(n)
1171 i, err := AsInt32(n)
1248 step, err = AsInt32(step_)
1342 *result, err = AsInt32(v)
1590 r, err := AsInt32(arg)
/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/ctc/
Dctc_beam_search_decoder.cc46 option->beam_width = m["beam_width"].AsInt32(); in Init()
47 option->top_paths = m["top_paths"].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.cc612 if (token->AsInt32() < 0) { in ProcessSSBO()
614 std::to_string(token->AsInt32())); in ProcessSSBO()
775 if (token->AsInt32() < 0) { in ProcessUniform()
777 std::to_string(token->AsInt32())); in ProcessUniform()
781 if (token->AsInt32() % buf_size != 0) in ProcessUniform()

12