Home
last modified time | relevance | path

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

12

/external/tensorflow/tensorflow/lite/micro/kernels/
Dsoftmax_test.cc299 inputT* input_quantized, float input_scale, in TestSoftmaxQuantized() argument
312 CreateQuantizedTensor(input_data, input_quantized, input_dims, in TestSoftmaxQuantized()
343 uint8_t input_quantized[tflite::testing::flat_size_1d]; in TF_LITE_MICRO_TEST() local
348 input_quantized, input_scale, input_zero_point, tflite::testing::shape_1d, in TF_LITE_MICRO_TEST()
358 int8_t input_quantized[tflite::testing::flat_size_1d]; in TF_LITE_MICRO_TEST() local
363 input_quantized, input_scale, input_zero_point, tflite::testing::shape_1d, in TF_LITE_MICRO_TEST()
373 int16_t input_quantized[tflite::testing::flat_size_1d]; in TF_LITE_MICRO_TEST() local
378 input_quantized, input_scale, input_zero_point, tflite::testing::shape_1d, in TF_LITE_MICRO_TEST()
395 uint8_t input_quantized[tflite::testing::flat_size_2d]; in TF_LITE_MICRO_TEST() local
400 input_quantized, input_scale, input_zero_point, tflite::testing::shape_2d, in TF_LITE_MICRO_TEST()
[all …]
Darg_min_max_test.cc74 const float* input_values, T* input_quantized, in TestArgMinMaxQuantized() argument
89 CreateQuantizedTensor(input_values, input_quantized, input_dims, in TestArgMinMaxQuantized()
145 uint8_t input_quantized[input_size]; in TF_LITE_MICRO_TEST() local
148 input_dims, input_values, input_quantized, input_scale, input_zero_point, in TF_LITE_MICRO_TEST()
164 uint8_t input_quantized[input_size]; in TF_LITE_MICRO_TEST() local
167 input_dims, input_values, input_quantized, input_scale, input_zero_point, in TF_LITE_MICRO_TEST()
183 int8_t input_quantized[input_size]; in TF_LITE_MICRO_TEST() local
186 input_dims, input_values, input_quantized, input_scale, input_zero_point, in TF_LITE_MICRO_TEST()
202 int8_t input_quantized[input_size]; in TF_LITE_MICRO_TEST() local
205 input_dims, input_values, input_quantized, input_scale, input_zero_point, in TF_LITE_MICRO_TEST()
[all …]
Dquantize_test.cc86 InputType* input_quantized, const float input_scale, in TestRequantize() argument
108 CreateQuantizedTensor(input_data, input_quantized, input_dims, in TestRequantize()
213 int16_t input_quantized[length]; in TF_LITE_MICRO_TEST() local
214 tflite::testing::TestRequantize(dims, values, input_quantized, input_scale, in TF_LITE_MICRO_TEST()
230 int16_t input_quantized[length]; in TF_LITE_MICRO_TEST() local
231 tflite::testing::TestRequantize(dims, values, input_quantized, input_scale, in TF_LITE_MICRO_TEST()
247 int8_t input_quantized[length]; in TF_LITE_MICRO_TEST() local
248 tflite::testing::TestRequantize(dims, values, input_quantized, input_scale, in TF_LITE_MICRO_TEST()
264 int8_t input_quantized[length]; in TF_LITE_MICRO_TEST() local
265 tflite::testing::TestRequantize(dims, values, input_quantized, input_scale, in TF_LITE_MICRO_TEST()
[all …]
Dpad_test.cc146 T* input_quantized, float input_scale, in TestPadQuantized() argument
160 CreateQuantizedTensor(input_data, input_quantized, input_dims, in TestPadQuantized()
179 T* input_quantized, float input_scale, in TestPadV2Quantized() argument
199 CreateQuantizedTensor(input_data, input_quantized, input_dims, in TestPadV2Quantized()
288 uint8_t input_quantized[4]; in TF_LITE_MICRO_TEST() local
292 input_dims, input_values, input_quantized, input_scale, input_zero_point, in TF_LITE_MICRO_TEST()
313 uint8_t input_quantized[4]; in TF_LITE_MICRO_TEST() local
317 input_dims, input_values, input_quantized, input_scale, input_zero_point, in TF_LITE_MICRO_TEST()
336 int8_t input_quantized[4]; in TF_LITE_MICRO_TEST() local
340 input_dims, input_values, input_quantized, input_scale, input_zero_point, in TF_LITE_MICRO_TEST()
[all …]
Dfully_connected_test.cc293 const int* input_dims_data, const float* input_data, T* input_quantized, in TestFullyConnectedQuantized() argument
312 CreateQuantizedTensor(input_data, input_quantized, input_dims, in TestFullyConnectedQuantized()
361 uint8_t input_quantized[tflite::testing::simple_input_size]; in TF_LITE_MICRO_TEST() local
370 tflite::testing::simple_input_data, input_quantized, input_scale, in TF_LITE_MICRO_TEST()
390 int8_t input_quantized[tflite::testing::simple_input_size]; in TF_LITE_MICRO_TEST() local
399 tflite::testing::simple_input_data, input_quantized, input_scale, in TF_LITE_MICRO_TEST()
421 int8_t input_quantized[tflite::testing::simple_input_size]; in TF_LITE_MICRO_TEST() local
429 input_dims_4d, tflite::testing::simple_input_data, input_quantized, in TF_LITE_MICRO_TEST()
449 int8_t input_quantized[tflite::testing::relu_input_size]; in TF_LITE_MICRO_TEST() local
458 input_quantized, input_scale, input_zero_point, in TF_LITE_MICRO_TEST()
[all …]
Ddepthwise_conv_test.cc114 uint8_t* input_quantized, float input_scale, int input_zero_point, in TestDepthwiseConvQuantizedPerLayer() argument
131 tflite::testing::CreateQuantizedTensor(input_data, input_quantized, in TestDepthwiseConvQuantizedPerLayer()
165 int8_t* input_quantized, float input_scale, int input_zero_point, in TestDepthwiseConvQuantizedPerChannel() argument
186 input_data, input_quantized, input_dims, input_scale, input_zero_point); in TestDepthwiseConvQuantizedPerChannel()
292 uint8_t input_quantized[input_elements]; in TF_LITE_MICRO_TEST() local
304 input_shape, input_values, input_quantized, input_scale, input_zero_point, in TF_LITE_MICRO_TEST()
339 uint8_t input_quantized[input_elements]; in TF_LITE_MICRO_TEST() local
351 input_shape, input_values, input_quantized, input_scale, input_zero_point, in TF_LITE_MICRO_TEST()
403 uint8_t input_quantized[input_elements]; in TF_LITE_MICRO_TEST() local
415 input_shape, input_values, input_quantized, input_scale, input_zero_point, in TF_LITE_MICRO_TEST()
[all …]
Ddequantize_test.cc110 uint8_t input_quantized[length]; in TF_LITE_MICRO_TEST() local
112 tflite::testing::TestDequantizeToFloat(dims, values, input_quantized, scale, in TF_LITE_MICRO_TEST()
123 int8_t input_quantized[length]; in TF_LITE_MICRO_TEST() local
125 tflite::testing::TestDequantizeToFloat(dims, values, input_quantized, scale, in TF_LITE_MICRO_TEST()
136 int16_t input_quantized[length]; in TF_LITE_MICRO_TEST() local
138 tflite::testing::TestDequantizeToFloat(dims, values, input_quantized, scale, in TF_LITE_MICRO_TEST()
Dconv_test.cc109 uint8_t input_quantized[tflite::testing::kInputElements]; in TF_LITE_MICRO_TEST() local
118 input_quantized, input_scale, tflite::testing::kFilterShape, in TF_LITE_MICRO_TEST()
207 uint8_t input_quantized[input_elements]; in TF_LITE_MICRO_TEST() local
219 input_shape, input_data, input_quantized, input_scale, in TF_LITE_MICRO_TEST()
236 int8_t input_quantized[tflite::testing::kInputElements]; in TF_LITE_MICRO_TEST() local
247 input_quantized, input_scale, input_zero_point, in TF_LITE_MICRO_TEST()
278 int8_t input_quantized[input_elements]; in TF_LITE_MICRO_TEST() local
292 input_shape, input_data, input_quantized, input_scale, in TF_LITE_MICRO_TEST()
313 int8_t input_quantized[tflite::testing::kInputElements]; in TF_LITE_MICRO_TEST() local
324 input_quantized, input_scale, input_zero_point, in TF_LITE_MICRO_TEST()
[all …]
Dlogistic_test.cc92 T* input_quantized, const float input_scale, in TestLogisticQuantized() argument
105 CreateQuantizedTensor(input_data, input_quantized, input_dims, in TestLogisticQuantized()
133 int8_t input_quantized[tflite::testing::flat_size_basic]; in TF_LITE_MICRO_TEST() local
139 input_quantized, input_scale, input_zero_point, in TF_LITE_MICRO_TEST()
156 int8_t input_quantized[tflite::testing::flat_size_wide_range]; in TF_LITE_MICRO_TEST() local
162 input_quantized, input_scale, input_zero_point, in TF_LITE_MICRO_TEST()
Dprelu_test.cc73 T* input_quantized, const float input_scale, in TestPreluQuantized() argument
88 CreateQuantizedTensor(input_data, input_quantized, input_dims, in TestPreluQuantized()
152 uint8_t input_quantized[dims_count]; in TF_LITE_MICRO_TEST() local
160 input_shape, input_values, input_quantized, scale, zero_point, in TF_LITE_MICRO_TEST()
183 int8_t input_quantized[dims_count]; in TF_LITE_MICRO_TEST() local
190 input_shape, input_values, input_quantized, scale, zero_point, in TF_LITE_MICRO_TEST()
Dtanh_test.cc104 T* input_quantized, float input_scale, in TestTanhQuantized() argument
122 CreateQuantizedTensor(input_data, input_quantized, input_dims, in TestTanhQuantized()
181 uint8_t input_quantized[tanh_vec_size]; in TF_LITE_MICRO_TEST() local
186 tanh_input_vec_fp, input_quantized, // Input data. in TF_LITE_MICRO_TEST()
209 int8_t input_quantized[tanh_vec_size]; in TF_LITE_MICRO_TEST() local
214 tanh_input_vec_fp, input_quantized, // Input data. in TF_LITE_MICRO_TEST()
Dactivations_test.cc294 uint8_t input_quantized[elements_count]; in TF_LITE_MICRO_TEST() local
305 tflite::testing::TestReluUint8(input_shape, input_data, input_quantized, in TF_LITE_MICRO_TEST()
316 uint8_t input_quantized[elements_count]; in TF_LITE_MICRO_TEST() local
327 tflite::testing::TestRelu6Uint8(input_shape, input_data, input_quantized, in TF_LITE_MICRO_TEST()
338 int8_t input_quantized[elements_count]; in TF_LITE_MICRO_TEST() local
349 tflite::testing::TestReluInt8(input_shape, input_data, input_quantized, in TF_LITE_MICRO_TEST()
360 int8_t input_quantized[elements_count]; in TF_LITE_MICRO_TEST() local
371 tflite::testing::TestRelu6Int8(input_shape, input_data, input_quantized, in TF_LITE_MICRO_TEST()
Dbatch_to_space_nd_test.cc92 const int* input_dims_data, const float* input_data, T* input_quantized, in TestBatchToSpaceNdQuantized() argument
107 tflite::testing::CreateQuantizedTensor(input_data, input_quantized, in TestBatchToSpaceNdQuantized()
142 int8_t input_quantized[tflite::testing::kBasicInputOutputSize]; in TF_LITE_MICRO_TEST() local
148 input_quantized, 1.0f, 0, tflite::testing::basic_block_shape_dims, in TF_LITE_MICRO_TEST()
Dspace_to_batch_nd_test.cc92 const int* input_dims_data, const float* input_data, T* input_quantized, in TestSpaceToBatchNdQuantized() argument
107 tflite::testing::CreateQuantizedTensor(input_data, input_quantized, in TestSpaceToBatchNdQuantized()
142 int8_t input_quantized[tflite::testing::kBasicInputOutputSize]; in TF_LITE_MICRO_TEST() local
148 input_quantized, 1.0f, 0, tflite::testing::basic_block_shape_dims, in TF_LITE_MICRO_TEST()
/external/tensorflow/tensorflow/lite/micro/kernels/arc_mli/
Ddepthwise_conv_slicing_test.cc120 int8_t* input_quantized, float input_scale, int input_zero_point, in TestDepthwiseConvQuantizedPerChannel() argument
141 CreateQuantizedTensor(input_data, input_quantized, input_dims, in TestDepthwiseConvQuantizedPerChannel()
219 int8_t input_quantized[input_elements]; in TF_LITE_MICRO_TEST() local
227 input_shape, input_values, input_quantized, input_scale, input_zero_point, in TF_LITE_MICRO_TEST()
262 int8_t input_quantized[input_elements]; in TF_LITE_MICRO_TEST() local
270 input_shape, input_values, input_quantized, input_scale, input_zero_point, in TF_LITE_MICRO_TEST()
309 int8_t input_quantized[input_elements]; in TF_LITE_MICRO_TEST() local
317 input_shape, input_values, input_quantized, input_scale, input_zero_point, in TF_LITE_MICRO_TEST()
359 int8_t input_quantized[input_elements]; in TF_LITE_MICRO_TEST() local
367 input_shape, input_values, input_quantized, input_scale, input_zero_point, in TF_LITE_MICRO_TEST()
[all …]
Dconv_slicing_test.cc193 int8_t* input_quantized, float input_scale, int input_zero_point, in TestConvQuantizedPerChannel() argument
212 CreateQuantizedTensor(input_data, input_quantized, input_dims, in TestConvQuantizedPerChannel()
287 int8_t input_quantized[tflite::testing::kInput1Elements]; in TF_LITE_MICRO_TEST() local
298 input_quantized, input_scale, input_zero_point, in TF_LITE_MICRO_TEST()
315 static int8_t input_quantized[tflite::testing::kInput1Elements]; in TF_LITE_MICRO_TEST() local
327 input_quantized, input_scale, input_zero_point, in TF_LITE_MICRO_TEST()
344 int8_t input_quantized[tflite::testing::kInput2Elements]; in TF_LITE_MICRO_TEST() local
355 input_quantized, input_scale, input_zero_point, in TF_LITE_MICRO_TEST()
372 static int8_t input_quantized[tflite::testing::kInput2Elements]; in TF_LITE_MICRO_TEST() local
384 input_quantized, input_scale, input_zero_point, in TF_LITE_MICRO_TEST()
[all …]
/external/tensorflow/tensorflow/core/kernels/
Dquantized_activation_ops_test.cc51 Tensor input_quantized = in TEST_F() local
56 AddInputFromArray<quint8>(input_quantized.shape(), in TEST_F()
57 input_quantized.flat<quint8>()); in TEST_F()
82 Tensor input_quantized = in TEST_F() local
87 AddInputFromArray<quint8>(input_quantized.shape(), in TEST_F()
88 input_quantized.flat<quint8>()); in TEST_F()
Dquantized_pooling_ops_test.cc61 Tensor input_quantized = in TEST_F() local
70 AddInputFromArray<quint8>(input_quantized.shape(), in TEST_F()
71 input_quantized.flat<quint8>()); in TEST_F()
106 Tensor input_quantized = in TEST_F() local
115 AddInputFromArray<quint8>(input_quantized.shape(), in TEST_F()
116 input_quantized.flat<quint8>()); in TEST_F()
Dquantized_bias_add_op_test.cc58 Tensor input_quantized = in TEST_F() local
73 AddInputFromArray<quint8>(input_quantized.shape(), in TEST_F()
74 input_quantized.flat<quint8>()); in TEST_F()
118 Tensor input_quantized = in TEST_F() local
155 AddInputFromArray<quint8>(input_quantized.shape(), in TEST_F()
156 input_quantized.flat<quint8>()); in TEST_F()
Dquantized_batch_norm_op_test.cc70 Tensor input_quantized = in TEST_F() local
97 AddInputFromArray<quint8>(input_quantized.shape(), in TEST_F()
98 input_quantized.flat<quint8>()); in TEST_F()
167 Tensor input_quantized = in TEST_F() local
194 AddInputFromArray<quint8>(input_quantized.shape(), in TEST_F()
195 input_quantized.flat<quint8>()); in TEST_F()
/external/tensorflow/tensorflow/core/kernels/mkl/
Dmkl_quantized_pooling_ops_test.cc91 Tensor input_quantized = in TEST_F() local
108 AddInputFromArray<quint8>(input_quantized.shape(), in TEST_F()
109 input_quantized.flat<quint8>()); in TEST_F()
160 Tensor input_quantized = in TEST_F() local
176 AddInputFromArray<quint8>(input_quantized.shape(), in TEST_F()
177 input_quantized.flat<quint8>()); in TEST_F()
/external/tensorflow/tensorflow/lite/kernels/
Dbasic_rnn.cc117 TfLiteTensor* input_quantized; in Prepare() local
119 &input_quantized)); in Prepare()
120 input_quantized->type = input_weights->type; in Prepare()
121 input_quantized->allocation_type = kTfLiteArenaRw; in Prepare()
122 if (!TfLiteIntArrayEqual(input_quantized->dims, input->dims)) { in Prepare()
124 TF_LITE_ENSURE_OK(context, context->ResizeTensor(context, input_quantized, in Prepare()
309 TfLiteTensor* input_quantized; in Eval() local
311 GetTemporarySafe(context, node, 0, &input_quantized)); in Eval()
327 input_quantized, hidden_state_quantized, in Eval()
Dsvdf.cc172 TfLiteTensor* input_quantized; in Prepare() local
174 &input_quantized)); in Prepare()
175 input_quantized->type = weights_feature->type; in Prepare()
176 input_quantized->allocation_type = kTfLiteArenaRw; in Prepare()
177 if (!TfLiteIntArrayEqual(input_quantized->dims, input->dims)) { in Prepare()
179 TF_LITE_ENSURE_OK(context, context->ResizeTensor(context, input_quantized, in Prepare()
321 TfLiteTensor* input_quantized; in Eval() local
323 &input_quantized)); in Eval()
369 GetTensorData<int8_t>(input_quantized), GetTensorData<float>(state), in Eval()
Dunidirectional_sequence_rnn.cc124 TfLiteTensor* input_quantized; in Prepare() local
126 &input_quantized)); in Prepare()
127 input_quantized->type = input_weights->type; in Prepare()
128 input_quantized->allocation_type = kTfLiteArenaRw; in Prepare()
129 if (!TfLiteIntArrayEqual(input_quantized->dims, input->dims)) { in Prepare()
131 TF_LITE_ENSURE_OK(context, context->ResizeTensor(context, input_quantized, in Prepare()
385 TfLiteTensor* input_quantized; in Eval() local
387 GetTemporarySafe(context, node, 0, &input_quantized)); in Eval()
403 input_quantized, hidden_state_quantized, in Eval()
Dfully_connected.cc272 TfLiteTensor* input_quantized; in PrepareImpl() local
274 &input_quantized)); in PrepareImpl()
275 input_quantized->type = filter->type; in PrepareImpl()
276 input_quantized->allocation_type = kTfLiteArenaRw; in PrepareImpl()
279 TF_LITE_ENSURE_OK(context, context->ResizeTensor(context, input_quantized, in PrepareImpl()
438 TfLiteTensor* input_quantized, in EvalHybridImpl() argument
491 GetTensorData<int8_t>(input_quantized) + thread_start * input_depth; in EvalHybridImpl()
531 TfLiteTensor* input_quantized, in HybridFullyConnectedTask()
544 input_quantized(input_quantized), in HybridFullyConnectedTask()
553 thread_start, thread_end, input_quantized, scaling_factors, in Run()
[all …]

12