/tflite-micro-3.4.0-2.7.6/tensorflow/lite/micro/kernels/ |
D | transpose_test.cc | 85 const T* expected_output_data, T* output_data, in ValidateTranspose() argument 96 TF_LITE_MICRO_EXPECT_EQ(expected_output_data[i], output_data[i]); in ValidateTranspose() 103 const T* expected_output_data, T* output_data, in TestTranspose() argument 129 kTfLiteOk, ValidateTranspose(tensors, tensors_size, expected_output_data, in TestTranspose() 145 const int8_t expected_output_data[] = {0, 1, 2}; variable 150 expected_output_data, output_data, ¶ms); 159 const int8_t expected_output_data[] = {0, 2, 4, 1, 3, 5}; variable 164 expected_output_data, output_data, ¶ms); 173 const int8_t expected_output_data[] = {0, 6, 12, 18, 1, 7, 13, 19, variable 180 expected_output_data, output_data, ¶ms); [all …]
|
D | resize_nearest_neighbor_test.cc | 47 const T* expected_output_data, in TestResizeNearestNeighbor() argument 85 TF_LITE_MICRO_EXPECT_EQ(expected_output_data[i], output_data[i]); in TestResizeNearestNeighbor() 99 const float expected_output_data[] = {3, 3, 6}; in TF_LITE_MICRO_TEST() local 104 input_dims, input_data, expected_size_data, expected_output_data, in TF_LITE_MICRO_TEST() 111 const uint8_t expected_output_data[] = {3, 3, 6}; in TF_LITE_MICRO_TEST() local 116 input_dims, input_data, expected_size_data, expected_output_data, in TF_LITE_MICRO_TEST() 123 const int8_t expected_output_data[] = {-3, -3, 6}; in TF_LITE_MICRO_TEST() local 128 input_dims, input_data, expected_size_data, expected_output_data, in TF_LITE_MICRO_TEST() 135 const float expected_output_data[] = {3, 3, 9}; in TF_LITE_MICRO_TEST() local 140 input_dims, input_data, expected_size_data, expected_output_data, in TF_LITE_MICRO_TEST() [all …]
|
D | resize_bilinear_test.cc | 36 const T* expected_output_data, T* output_data, in ValidateGoldens() argument 53 TF_LITE_MICRO_EXPECT_NEAR(expected_output_data[i], output_data[i], in ValidateGoldens() 63 const T* expected_output_data, int* output_dims_data, in TestResizeBilinear() argument 87 ValidateGoldens(tensors, tensors_size, expected_output_data, output_data, in TestResizeBilinear() 101 const float expected_output_data[] = {3, 5, 6}; in TF_LITE_MICRO_TEST() local 111 expected_size_data, expected_output_data, in TF_LITE_MICRO_TEST() 119 const int8_t expected_output_data[] = {3, 5, 6}; in TF_LITE_MICRO_TEST() local 129 input_dims, input_data, expected_size_data, expected_output_data, in TF_LITE_MICRO_TEST() 137 const float expected_output_data[] = {3, 7, 9}; in TF_LITE_MICRO_TEST() local 147 expected_size_data, expected_output_data, in TF_LITE_MICRO_TEST() [all …]
|
D | shape_test.cc | 48 int* output_dims_data, const int32_t* expected_output_data, in TestShape() argument 62 ValidateShape(tensors, tensors_size, output_data, expected_output_data, in TestShape() 76 int32_t expected_output_data[] = {5}; in TF_LITE_MICRO_TEST() local 80 expected_output_data, output_data); in TF_LITE_MICRO_TEST() 87 int32_t expected_output_data[] = {4, 3}; in TF_LITE_MICRO_TEST() local 91 expected_output_data, output_data); in TF_LITE_MICRO_TEST() 98 int32_t expected_output_data[] = {12, 1}; in TF_LITE_MICRO_TEST() local 102 expected_output_data, output_data); in TF_LITE_MICRO_TEST() 109 int32_t expected_output_data[] = {2, 6}; in TF_LITE_MICRO_TEST() local 113 expected_output_data, output_data); in TF_LITE_MICRO_TEST() [all …]
|
D | split_v_test.cc | 31 float* expected_output_data[N]; member 95 TF_LITE_MICRO_EXPECT_NEAR((output_tensors.expected_output_data[i])[j], in TestSplitVFloat() 135 output_tensors.expected_output_data[0] = output1_values; in TF_LITE_MICRO_TEST() 136 output_tensors.expected_output_data[1] = output2_values; in TF_LITE_MICRO_TEST() 137 output_tensors.expected_output_data[2] = output3_values; in TF_LITE_MICRO_TEST() 170 output_tensors.expected_output_data[0] = output1_values; in TF_LITE_MICRO_TEST() 171 output_tensors.expected_output_data[1] = output2_values; in TF_LITE_MICRO_TEST() 204 output_tensors.expected_output_data[0] = output1_values; in TF_LITE_MICRO_TEST() 205 output_tensors.expected_output_data[1] = output2_values; in TF_LITE_MICRO_TEST() 238 output_tensors.expected_output_data[0] = output1_values; in TF_LITE_MICRO_TEST() [all …]
|
D | conv_test_common.cc | 43 const T* expected_output_data, in ValidateConvGoldens() argument 54 TF_LITE_MICRO_EXPECT_NEAR(expected_output_data[i], output_data[i], in ValidateConvGoldens() 75 const float* expected_output_data, in ValidateConvGoldens() argument 80 return ValidateConvGoldens<float>(tensors, tensors_size, expected_output_data, in ValidateConvGoldens() 86 const int8_t* expected_output_data, in ValidateConvGoldens() argument 92 tensors, tensors_size, expected_output_data, output_length, conv_params, in ValidateConvGoldens() 100 const float* expected_output_data, in TestConvFloat() argument 119 return ValidateConvGoldens(tensors, tensors_size, expected_output_data, in TestConvFloat() 131 const float* expected_output_data, T* expected_output_data_quantized, in TestConvQuantizedPerChannel() argument 179 tflite::Quantize(expected_output_data, expected_output_data_quantized, in TestConvQuantizedPerChannel() [all …]
|
D | conv_test.h | 42 const float* expected_output_data, 49 const int8_t* expected_output_data, 56 const uint8_t* expected_output_data, 66 const float* expected_output_data, 75 const float* expected_output_data, uint8_t* expected_output_quantized, 85 const float* expected_output_data, int8_t* expected_output_data_quantized, 96 const float* expected_output_data, int16_t* expected_output_data_quantized,
|
D | l2norm_test.cc | 58 const T* expected_output_data, T* output_data) { in TestL2Normalization() argument 88 TF_LITE_MICRO_EXPECT_EQ(expected_output_data[i], output_data[i]); in TestL2Normalization() 102 const float expected_output_data[data_length] = {-0.55, 0.3, 0.35, in TF_LITE_MICRO_TEST() local 107 input_dims, input_data, expected_output_data, output_data); in TF_LITE_MICRO_TEST() 114 const float expected_output_data[data_length] = {0, 0, 0, 0, 0, 0}; in TF_LITE_MICRO_TEST() local 118 input_dims, input_data, expected_output_data, output_data); in TF_LITE_MICRO_TEST() 125 const float expected_output_data[data_length] = {-0.55, 0.3, 0.35, in TF_LITE_MICRO_TEST() local 130 input_dims, input_data, expected_output_data, output_data); in TF_LITE_MICRO_TEST() 141 const float expected_output_data[data_length] = { in TF_LITE_MICRO_TEST() local 149 input_dims, input_data, expected_output_data, output_data); in TF_LITE_MICRO_TEST()
|
D | dequantize_test.cc | 28 const T* expected_output_data, T* output_data, in ValidateDequantizeGoldens() argument 45 TF_LITE_MICRO_EXPECT_NEAR(expected_output_data[i], output_data[i], 0.001f); in ValidateDequantizeGoldens() 53 const float* expected_output_data, in TestDequantizeToFloat() argument 67 ValidateDequantizeGoldens(tensors, tensors_size, expected_output_data, in TestDequantizeToFloat() 75 const int32_t* expected_output_data, in TestDequantizeToInt32() argument 93 ValidateDequantizeGoldens(tensors, tensors_size, expected_output_data, in TestDequantizeToInt32()
|
D | cast_test.cc | 28 const int8_t* expected_output_data, in TestCastFloatToInt8() argument 55 TF_LITE_MICRO_EXPECT_EQ(expected_output_data[i], output_data[i]); in TestCastFloatToInt8() 60 const float* expected_output_data, in TestCastInt8ToFloat() argument 87 TF_LITE_MICRO_EXPECT_EQ(expected_output_data[i], output_data[i]); in TestCastInt8ToFloat()
|
D | neg_test.cc | 28 const float* expected_output_data, int* output_dims_data, in TestNegFloat() argument 54 TF_LITE_MICRO_EXPECT_EQ(expected_output_data[0], output_data[0]); in TestNegFloat() 56 TF_LITE_MICRO_EXPECT_EQ(expected_output_data[i], output_data[i]); in TestNegFloat()
|
D | pack_test.cc | 51 const float* expected_output_data, in TestPackTwoInputsFloat() argument 75 outputs_array, expected_output_data, output_dims_count, in TestPackTwoInputsFloat() 83 const float* expected_output_data, in TestPackThreeInputsFloat() argument 109 outputs_array, expected_output_data, output_dims_count, in TestPackThreeInputsFloat() 116 const uint8_t* expected_output_data, uint8_t* output_data) { in TestPackTwoInputsQuantized() argument 143 outputs_array, expected_output_data, output_dims_count, in TestPackTwoInputsQuantized() 150 const int32_t* expected_output_data, int32_t* output_data) { in TestPackTwoInputsQuantized32() argument 173 outputs_array, expected_output_data, output_dims_count, in TestPackTwoInputsQuantized32()
|
D | reduce_test.cc | 69 const T* expected_output_data, in ValidateReduceGoldens() argument 86 TF_LITE_MICRO_EXPECT_NEAR(expected_output_data[i], output_data[i], in ValidateReduceGoldens() 95 const float* expected_output_data, float* output_data, in TestMeanFloatInput4D() argument 116 tensors, tensors_size, expected_output_data, output_data, in TestMeanFloatInput4D() 123 const float* expected_output_data, in TestReduceOpFloat() argument 143 tensors, tensors_size, expected_output_data, output_data, in TestReduceOpFloat() 152 const float* expected_output_data, in TestReduceOpQuantized() argument 176 tflite::Quantize(expected_output_data, expected_output_data_quant, in TestReduceOpQuantized() 191 const float* expected_output_data, in TestMeanOpQuantized() argument 214 tflite::Quantize(expected_output_data, expected_output_data_quant, in TestMeanOpQuantized() [all …]
|
D | maximum_minimum_test.cc | 30 const float* expected_output_data, int* output_dims_data, in TestMaxMinFloat() argument 59 TF_LITE_MICRO_EXPECT_NEAR(expected_output_data[i], output_data[i], 1e-5f); in TestMaxMinFloat() 68 const uint8_t* expected_output_data, in TestMaxMinQuantized() argument 101 TF_LITE_MICRO_EXPECT_EQ(expected_output_data[i], output_data[i]); in TestMaxMinQuantized() 108 const int32_t* expected_output_data, in TestMaxMinQuantizedInt32() argument 137 TF_LITE_MICRO_EXPECT_EQ(expected_output_data[i], output_data[i]); in TestMaxMinQuantizedInt32()
|
D | tanh_test.cc | 69 const float* expected_output_data, int output_dims_data[], in TestTanhFloat() argument 96 TF_LITE_MICRO_EXPECT_NEAR(expected_output_data[i], output_data[i], in TestTanhFloat() 104 int input_zero_point, const float* expected_output_data, in TestTanhQuantized() argument 113 tflite::Quantize(expected_output_data, expected_output_quantized, in TestTanhQuantized()
|
D | elementwise_test.cc | 29 const float* expected_output_data, in TestElementwiseFloat() argument 59 TF_LITE_MICRO_EXPECT_NEAR(expected_output_data[i], output_data[i], 1e-5f); in TestElementwiseFloat() 66 const bool* expected_output_data, bool* output_data) { in TestElementwiseBool() argument 95 TF_LITE_MICRO_EXPECT_EQ(expected_output_data[i], output_data[i]); in TestElementwiseBool()
|
D | round_test.cc | 28 const float* expected_output_data, float* output_data) { in TestRound() argument 53 TF_LITE_MICRO_EXPECT_NEAR(expected_output_data[i], output_data[i], 1e-5f); in TestRound()
|
D | floor_test.cc | 28 const float* expected_output_data, int* output_dims_data, in TestFloor() argument 54 TF_LITE_MICRO_EXPECT_NEAR(expected_output_data[i], output_data[i], 1e-5f); in TestFloor()
|
D | exp_test.cc | 29 const float* expected_output_data, float* output_data) { in TestExp() argument 54 TF_LITE_MICRO_EXPECT_NEAR(expected_output_data[i], output_data[i], 1e-5f); in TestExp()
|
D | ceil_test.cc | 28 const float* expected_output_data, float* output_data) { in TestCeil() argument 54 TF_LITE_MICRO_EXPECT_NEAR(expected_output_data[i], output_data[i], 1e-5f); in TestCeil()
|
D | concatenation_test.cc | 30 const float* expected_output_data, in TestConcatenateTwoInputs() argument 64 TF_LITE_MICRO_EXPECT_NEAR(expected_output_data[i], output_data[i], 1e-5f); in TestConcatenateTwoInputs() 72 int axis, int* output_dims_data, const T* expected_output_data, in TestConcatenateQuantizedTwoInputs() argument 110 TF_LITE_MICRO_EXPECT_EQ(expected_output_data[i], output_data[i]); in TestConcatenateQuantizedTwoInputs()
|
D | pooling_test.cc | 64 const float* expected_output_data, in TestAveragePoolFloat() argument 84 expected_output_data, output_dims_count, padding, in TestAveragePoolFloat() 93 const T* expected_output_data, int* output_dims_data, in TestAveragePoolQuantized() argument 115 expected_output_data, output_dims_count, padding, in TestAveragePoolQuantized() 121 int stride_height, const float* expected_output_data, in TestMaxPoolFloat() argument 139 expected_output_data, output_dims_count, padding, in TestMaxPoolFloat() 148 const T* expected_output_data, int* output_dims_data, in TestMaxPoolQuantized() argument 169 expected_output_data, output_dims_count, padding, in TestMaxPoolQuantized()
|
/tflite-micro-3.4.0-2.7.6/tensorflow/lite/micro/examples/network_tester/ |
D | expected_output_data.h | 20 static unsigned char expected_output_data[] = {143, 113}; variable 22 static unsigned char expected_output_data[] = { variable
|
D | .gitignore | 2 expected_output_data.h
|
/tflite-micro-3.4.0-2.7.6/tensorflow/lite/micro/kernels/arc_mli/ |
D | fully_connected_slicing_test.cc | 43 const T* expected_output_data, int* output_dims_data, in TestFullyConnectedQuantized() argument 114 TF_LITE_MICRO_EXPECT_EQ(expected_output_data[i], output_data[i]); in TestFullyConnectedQuantized() 142 const int8_t expected_output_data[] = {41, 41, 41, 41, 41, 41}; in TF_LITE_MICRO_TEST() local 150 bias_scale, expected_output_data, output_dims_data, output_min, in TF_LITE_MICRO_TEST() 184 const int8_t expected_output_data[] = {41, 41, 41, 41, 41, 41}; in TF_LITE_MICRO_TEST() local 189 bias_dims_data_local, bias_data_local, bias_scale, expected_output_data, in TF_LITE_MICRO_TEST()
|