Home
last modified time | relevance | path

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

12

/external/tensorflow/tensorflow/lite/micro/examples/micro_speech/
Drecognize_commands_test.cc80 TfLiteTensor results = tflite::testing::CreateQuantizedTensor( in TF_LITE_MICRO_TEST()
99 TfLiteTensor yes_results = tflite::testing::CreateQuantizedTensor( in TF_LITE_MICRO_TEST()
126 TfLiteTensor no_results = tflite::testing::CreateQuantizedTensor( in TF_LITE_MICRO_TEST()
159 TfLiteTensor bad_results = tflite::testing::CreateQuantizedTensor( in TF_LITE_MICRO_TEST()
177 TfLiteTensor results = tflite::testing::CreateQuantizedTensor( in TF_LITE_MICRO_TEST()
199 TfLiteTensor results = tflite::testing::CreateQuantizedTensor( in TF_LITE_MICRO_TEST()
/external/tensorflow/tensorflow/lite/micro/kernels/
Dactivations_test.cc107 CreateQuantizedTensor(input_data, input_data_quantized, input_dims, in TestReluUint8()
109 CreateQuantizedTensor(output_data, output_dims, output_scale, in TestReluUint8()
148 CreateQuantizedTensor(input_data, input_data_quantized, input_dims, in TestRelu6Uint8()
150 CreateQuantizedTensor(output_data, output_dims, output_scale, in TestRelu6Uint8()
188 CreateQuantizedTensor(input_data, input_data_quantized, input_dims, in TestReluInt8()
190 CreateQuantizedTensor(output_data, output_dims, output_scale, in TestReluInt8()
228 CreateQuantizedTensor(input_data, input_data_quantized, input_dims, in TestRelu6Int8()
230 CreateQuantizedTensor(output_data, output_dims, output_scale, in TestRelu6Int8()
Dcircular_buffer_test.cc63 tflite::testing::CreateQuantizedTensor(input_data, input_tensor_dims, 1, in TF_LITE_MICRO_TEST()
65 tflite::testing::CreateQuantizedTensor(output_data, output_tensor_dims, 1, in TF_LITE_MICRO_TEST()
131 tflite::testing::CreateQuantizedTensor(input_data, input_tensor_dims, 1, in TF_LITE_MICRO_TEST()
133 tflite::testing::CreateQuantizedTensor(output_data, output_tensor_dims, 1, in TF_LITE_MICRO_TEST()
Dtranspose_conv_test.cc165 CreateQuantizedTensor(input_data, input_quantized, input_dims, in TestTransposeConvQuantized()
169 CreateQuantizedTensor(output_data, output_dims, output_scale, in TestTransposeConvQuantized()
225 using tflite::testing::CreateQuantizedTensor; in TF_LITE_MICRO_TEST()
249 CreateQuantizedTensor(output_data, output_dims, /*scale=*/1.0f, in TF_LITE_MICRO_TEST()
259 using tflite::testing::CreateQuantizedTensor; in TF_LITE_MICRO_TEST()
283 CreateQuantizedTensor(filter_data, filter_dims, in TF_LITE_MICRO_TEST()
Dconv_test.cc128 using tflite::testing::CreateQuantizedTensor; in TF_LITE_MICRO_TEST()
146 CreateQuantizedTensor(output_data, output_dims, /*scale=*/0.0f, in TF_LITE_MICRO_TEST()
157 using tflite::testing::CreateQuantizedTensor; in TF_LITE_MICRO_TEST()
174 CreateQuantizedTensor(filter_data, filter_dims, in TF_LITE_MICRO_TEST()
458 TfLiteTensor input_tensor = tflite::testing::CreateQuantizedTensor( in TF_LITE_MICRO_TEST()
468 TfLiteTensor filter_tensor = tflite::testing::CreateQuantizedTensor( in TF_LITE_MICRO_TEST()
493 TfLiteTensor output_tensor = tflite::testing::CreateQuantizedTensor( in TF_LITE_MICRO_TEST()
551 TfLiteTensor input_tensor = tflite::testing::CreateQuantizedTensor( in TF_LITE_MICRO_TEST()
562 TfLiteTensor output_tensor = tflite::testing::CreateQuantizedTensor( in TF_LITE_MICRO_TEST()
668 TfLiteTensor input_tensor = tflite::testing::CreateQuantizedTensor( in TF_LITE_MICRO_TEST()
[all …]
Dconv_test_common.cc164 CreateQuantizedTensor(input_data, input_quantized, input_dims, in TestConvQuantizedPerLayer()
166 CreateQuantizedTensor(filter_data, filter_quantized, filter_dims, in TestConvQuantizedPerLayer()
170 CreateQuantizedTensor(output_data, output_dims, output_scale, 128)}; in TestConvQuantizedPerLayer()
204 TfLiteTensor input_tensor = CreateQuantizedTensor( in TestConvQuantizedPerChannel()
212 TfLiteTensor output_tensor = CreateQuantizedTensor( in TestConvQuantizedPerChannel()
Ddepthwise_conv_test.cc131 tflite::testing::CreateQuantizedTensor(input_data, input_quantized, in TestDepthwiseConvQuantizedPerLayer()
134 tflite::testing::CreateQuantizedTensor(filter_data, filter_quantized, in TestDepthwiseConvQuantizedPerLayer()
139 tflite::testing::CreateQuantizedTensor(output_data, output_dims, in TestDepthwiseConvQuantizedPerLayer()
185 TfLiteTensor input_tensor = CreateQuantizedTensor( in TestDepthwiseConvQuantizedPerChannel()
195 TfLiteTensor output_tensor = CreateQuantizedTensor( in TestDepthwiseConvQuantizedPerChannel()
710 TfLiteTensor input_tensor = tflite::testing::CreateQuantizedTensor( in TF_LITE_MICRO_TEST()
720 TfLiteTensor filter_tensor = tflite::testing::CreateQuantizedTensor( in TF_LITE_MICRO_TEST()
743 TfLiteTensor output_tensor = tflite::testing::CreateQuantizedTensor( in TF_LITE_MICRO_TEST()
813 TfLiteTensor input_tensor = tflite::testing::CreateQuantizedTensor( in TF_LITE_MICRO_TEST()
823 TfLiteTensor output_tensor = tflite::testing::CreateQuantizedTensor( in TF_LITE_MICRO_TEST()
[all …]
Dprelu_test.cc88 CreateQuantizedTensor(input_data, input_quantized, input_dims, in TestPreluQuantized()
90 CreateQuantizedTensor(alpha_data, alpha_quantized, alpha_dims, in TestPreluQuantized()
92 CreateQuantizedTensor(output_data, output_dims, output_scale, in TestPreluQuantized()
Dconcatenation_test.cc85 CreateQuantizedTensor(input1_data, input1_dims, input_scale, in TestConcatenateQuantizedTwoInputs()
87 CreateQuantizedTensor(input2_data, input2_dims, input_scale, in TestConcatenateQuantizedTwoInputs()
89 CreateQuantizedTensor(output_data, output_dims, output_scale, in TestConcatenateQuantizedTwoInputs()
Dpad_test.cc160 CreateQuantizedTensor(input_data, input_quantized, input_dims, in TestPadQuantized()
163 CreateQuantizedTensor(output_data, output_dims, output_scale, in TestPadQuantized()
199 CreateQuantizedTensor(input_data, input_quantized, input_dims, in TestPadV2Quantized()
202 CreateQuantizedTensor(&pad_value, &pad_value_quantized, pad_value_dims, in TestPadV2Quantized()
204 CreateQuantizedTensor(output_data, output_dims, output_scale, in TestPadV2Quantized()
Dmaximum_minimum_test.cc82 CreateQuantizedTensor(input1_data, input1_dims, input1_scale, in TestMaxMinQuantized()
84 CreateQuantizedTensor(input2_data, input2_dims, input2_scale, in TestMaxMinQuantized()
86 CreateQuantizedTensor(output_data, output_dims, output_scale, in TestMaxMinQuantized()
Ddequantize_test.cc62 CreateQuantizedTensor(input_data, input_data_quantized, input_dims, scale, in TestDequantizeToFloat()
85 CreateQuantizedTensor(input_data, input_data_quantized, input_dims, in TestDequantizeToInt32()
Dunpack_test.cc157 CreateQuantizedTensor(input_data, input_dims, 0, 10), in TestUnpackThreeOutputsQuantized()
158 CreateQuantizedTensor(output1_data, output1_dims, 0, 10), in TestUnpackThreeOutputsQuantized()
159 CreateQuantizedTensor(output2_data, output2_dims, 0, 10), in TestUnpackThreeOutputsQuantized()
160 CreateQuantizedTensor(output3_data, output3_dims, 0, 10)}; in TestUnpackThreeOutputsQuantized()
Dhard_swish_test.cc97 CreateQuantizedTensor(float_input_values, input_data_quantized, in TestHardSwishQuantized()
99 CreateQuantizedTensor(output_data, output_dims, output_scale, in TestHardSwishQuantized()
176 CreateQuantizedTensor(float_input_values, input_data_quantized, in TestHardSwishQuantizedBias()
178 CreateQuantizedTensor(output_data, output_dims, output_scale, in TestHardSwishQuantizedBias()
Dsvdf_test.cc630 CreateQuantizedTensor(input_quantized, input_dims, input_scale, in TestIntegerSVDF()
632 CreateQuantizedTensor(feature_weights_data, feature_weights_quantized, in TestIntegerSVDF()
634 CreateQuantizedTensor(time_weights_data, time_weights_quantized, in TestIntegerSVDF()
638 CreateQuantizedTensor(initial_activation_state_data, in TestIntegerSVDF()
642 CreateQuantizedTensor(output_data, output_dims, output_scale, in TestIntegerSVDF()
Dpack_test.cc134 CreateQuantizedTensor(input1_data, input1_dims, 1.0, 128), in TestPackTwoInputsQuantized()
135 CreateQuantizedTensor(input2_data, input2_dims, 1.0, 128), in TestPackTwoInputsQuantized()
136 CreateQuantizedTensor(output_data, output_dims, 1.0, 128)}; in TestPackTwoInputsQuantized()
Dlogistic_test.cc105 CreateQuantizedTensor(input_data, input_quantized, input_dims, in TestLogisticQuantized()
107 CreateQuantizedTensor(output_data, output_dims, output_scale, in TestLogisticQuantized()
Dtanh_test.cc122 CreateQuantizedTensor(input_data, input_quantized, input_dims, in TestTanhQuantized()
124 CreateQuantizedTensor(output_quantized, output_dims, output_scale, in TestTanhQuantized()
Dquantize_test.cc63 CreateQuantizedTensor(output_data, output_dims, scale, zero_point); in TestQuantizeFloat()
95 TfLiteTensor output_tensor = CreateQuantizedTensor( in TestRequantize()
108 CreateQuantizedTensor(input_data, input_quantized, input_dims, in TestRequantize()
Dmul_test.cc110 CreateQuantizedTensor(input1_data, input1_quantized, input1_dims, in TestMulQuantized()
112 CreateQuantizedTensor(input2_data, input2_quantized, input2_dims, in TestMulQuantized()
114 CreateQuantizedTensor(output_data, output_dims, output_scale, in TestMulQuantized()
Dbatch_to_space_nd_test.cc107 tflite::testing::CreateQuantizedTensor(input_data, input_quantized, in TestBatchToSpaceNdQuantized()
112 tflite::testing::CreateQuantizedTensor(output_data, output_dims, in TestBatchToSpaceNdQuantized()
/external/tensorflow/tensorflow/lite/delegates/gpu/common/
Dquantization_util_test.cc85 TfLiteTensor CreateQuantizedTensor(const int8_t* data, TfLiteIntArray* dims, in CreateQuantizedTensor() function
104 TfLiteTensor CreateQuantizedTensor(const uint8_t* data, TfLiteIntArray* dims, in CreateQuantizedTensor() function
153 TfLiteTensor input = CreateQuantizedTensor( in TEST()
179 CreateQuantizedTensor(data.data(), input_dims.get(), "input", in TEST()
204 TfLiteTensor quantized_output = CreateQuantizedTensor( in TEST()
226 TfLiteTensor quantized_output = CreateQuantizedTensor( in TEST()
/external/tensorflow/tensorflow/lite/micro/
Dtest_helpers.h184 TfLiteTensor CreateQuantizedTensor(const T* data, TfLiteIntArray* dims,
194 TfLiteTensor CreateQuantizedTensor(const float* input, T* quantized,
199 return CreateQuantizedTensor(quantized, dims, scale, zero_point, is_variable);
/external/tensorflow/tensorflow/lite/micro/kernels/arc_mli/
Dpooling_slicing_test.cc54 CreateQuantizedTensor(input_data, input_dims, "input_tensor", input_min, in TestAveragePoolingQuantized()
56 CreateQuantizedTensor(output_data, output_dims, "output_tensor", in TestAveragePoolingQuantized()
125 CreateQuantizedTensor(input_data, input_dims, "input_tensor", input_min, in TestMaxPoolQuantized()
127 CreateQuantizedTensor(output_data, output_dims, "output_tensor", in TestMaxPoolQuantized()
Dfully_connected_slicing_test.cc56 CreateQuantizedTensor(input_data, input_dims, "input_tensor", input_min, in TestFullyConnectedQuantized()
58 CreateQuantizedTensor(weights_data, weights_dims, "weights_tensor", in TestFullyConnectedQuantized()
61 CreateQuantizedTensor(output_data, output_dims, "output_tensor", in TestFullyConnectedQuantized()

12