/third_party/mindspore/mindspore/lite/test/ut/src/runtime/kernel/arm/fp32/ |
D | deconvolution_fp32_tests.cc | 79 EXPECT_EQ(0, CompareOutputData(dst, co, 256)); in TEST_F() 94 EXPECT_EQ(0, CompareOutputData(dst, co, 64)); in TEST_F() 111 ASSERT_EQ(0, CompareOutputData(out, no, 8, 0.0001)); in TEST_F() 115 ASSERT_EQ(0, CompareOutputData(out, relu, 8, 0.0001)); in TEST_F() 119 ASSERT_EQ(0, CompareOutputData(out, corr_relu6, 8, 0.0001)); in TEST_F() 137 ASSERT_EQ(0, CompareOutputData(out, no, 16, 0.0001)); in TEST_F() 141 ASSERT_EQ(0, CompareOutputData(out, relu, 16, 0.0001)); in TEST_F() 145 ASSERT_EQ(0, CompareOutputData(out, corr_relu6, 16, 0.0001)); in TEST_F() 164 ASSERT_EQ(0, CompareOutputData(out, no, 24, 0.0001)); in TEST_F() 182 ASSERT_EQ(0, CompareOutputData(out, co32, 32, 0.0001)); in TEST_F() [all …]
|
D | resize_nearest_neighbor_fp32_tests.cc | 87 ASSERT_EQ(0, CompareOutputData(output_data, expect.data(), output_size, err_tol)); in TEST_F() 104 ASSERT_EQ(0, CompareOutputData(output_data, expect.data(), output_size, err_tol)); in TEST_F() 121 ASSERT_EQ(0, CompareOutputData(output_data, expect.data(), output_size, err_tol)); in TEST_F() 138 ASSERT_EQ(0, CompareOutputData(output_data, expect.data(), output_size, err_tol)); in TEST_F() 155 ASSERT_EQ(0, CompareOutputData(output_data, expect.data(), output_size, err_tol)); in TEST_F() 172 ASSERT_EQ(0, CompareOutputData(output_data, expect.data(), output_size, err_tol)); in TEST_F() 189 ASSERT_EQ(0, CompareOutputData(output_data, expect.data(), output_size, err_tol)); in TEST_F() 206 ASSERT_EQ(0, CompareOutputData(output_data, expect.data(), output_size, err_tol)); in TEST_F() 223 ASSERT_EQ(0, CompareOutputData(output_data, expect.data(), output_size, err_tol)); in TEST_F() 240 ASSERT_EQ(0, CompareOutputData(output_data, expect.data(), output_size, err_tol)); in TEST_F() [all …]
|
D | resize_bilinear_fp32_tests.cc | 92 ASSERT_EQ(0, CompareOutputData(output_data, expect.data(), output_size, err_tol)); in TEST_F() 109 ASSERT_EQ(0, CompareOutputData(output_data, expect.data(), output_size, err_tol)); in TEST_F() 126 ASSERT_EQ(0, CompareOutputData(output_data, expect.data(), output_size, err_tol)); in TEST_F() 143 ASSERT_EQ(0, CompareOutputData(output_data, expect.data(), output_size, err_tol)); in TEST_F() 160 ASSERT_EQ(0, CompareOutputData(output_data, expect.data(), output_size, err_tol)); in TEST_F() 177 ASSERT_EQ(0, CompareOutputData(output_data, expect.data(), output_size, err_tol)); in TEST_F() 194 ASSERT_EQ(0, CompareOutputData(output_data, expect.data(), output_size, err_tol)); in TEST_F() 211 ASSERT_EQ(0, CompareOutputData(output_data, expect.data(), output_size, err_tol)); in TEST_F() 228 ASSERT_EQ(0, CompareOutputData(output_data, expect.data(), output_size, err_tol)); in TEST_F() 245 ASSERT_EQ(0, CompareOutputData(output_data, expect.data(), output_size, err_tol)); in TEST_F() [all …]
|
D | reduce_fp32_tests.cc | 123 ASSERT_EQ(0, CompareOutputData(out, correct, output_size, err_tol)); in TEST_F() 150 ASSERT_EQ(0, CompareOutputData(out, correct, output_size, err_tol)); in TEST_F() 178 ASSERT_EQ(0, CompareOutputData(out, correct, output_size, err_tol)); in TEST_F() 204 ASSERT_EQ(0, CompareOutputData(out, correct, output_size, err_tol)); in TEST_F() 231 ASSERT_EQ(0, CompareOutputData(out, correct, output_size, err_tol)); in TEST_F() 260 ASSERT_EQ(0, CompareOutputData(out, correct, output_size, err_tol)); in TEST_F() 288 ASSERT_EQ(0, CompareOutputData(out, correct, output_size, err_tol)); in TEST_F() 313 ASSERT_EQ(0, CompareOutputData(out, correct, output_size, err_tol)); in TEST_F() 340 ASSERT_EQ(0, CompareOutputData(out, correct, output_size, err_tol)); in TEST_F() 367 ASSERT_EQ(0, CompareOutputData(out, correct, output_size, err_tol)); in TEST_F() [all …]
|
D | batch_to_space_fp32_test.cc | 43 ASSERT_EQ(0, CompareOutputData(output, expect_out, kOutSize, 0.000001)); in TEST_F() 61 ASSERT_EQ(0, CompareOutputData(output, expect_out, kOutSize, 0.000001)); in TEST_F() 80 ASSERT_EQ(0, CompareOutputData(output, expect_out, kOutSize, 0.000001)); in TEST_F() 99 ASSERT_EQ(0, CompareOutputData(output, expect_out, kOutSize, 0.000001)); in TEST_F() 122 ASSERT_EQ(0, CompareOutputData(output, expect_out, kOutSize, 0.000001)); in TEST_F() 143 ASSERT_EQ(0, CompareOutputData(output, expect_out, kOutSize, 0.000001)); in TEST_F() 168 ASSERT_EQ(0, CompareOutputData(output, expect_out, kOutSize, 0.000001)); in TEST_F() 191 ASSERT_EQ(0, CompareOutputData(output, expect_out, kOutSize, 0.000001)); in TEST_F()
|
D | crop_fp32_test.cc | 45 ASSERT_EQ(0, CompareOutputData(output, expect_out, kOutSize, 0.000001)); in TEST_F() 68 ASSERT_EQ(0, CompareOutputData(output, expect_out, kOutSize, 0.000001)); in TEST_F() 88 ASSERT_EQ(0, CompareOutputData(output, expect_out, kOutSize, 0.000001)); in TEST_F() 109 ASSERT_EQ(0, CompareOutputData(output, expect_out, kOutSize, 0.000001)); in TEST_F() 130 ASSERT_EQ(0, CompareOutputData(output, expect_out, kOutSize, 0.000001)); in TEST_F() 152 ASSERT_EQ(0, CompareOutputData(output, expect_out, kOutSize, 0.000001)); in TEST_F() 171 ASSERT_EQ(0, CompareOutputData(output, expect_out, kOutSize, 0.000001)); in TEST_F() 194 ASSERT_EQ(0, CompareOutputData(output, expect_out, kOutSize, 0.000001)); in TEST_F() 220 ASSERT_EQ(0, CompareOutputData(output, expect_out, kOutSize, 0.000001)); in TEST_F() 244 ASSERT_EQ(0, CompareOutputData(output, expect_out, kOutSize, 0.000001)); in TEST_F() [all …]
|
D | conv1x1_fp32_tests.cc | 57 EXPECT_EQ(0, CompareOutputData(out, correct, 20)); in TEST_F() 98 ASSERT_EQ(0, CompareOutputData(out, correct, 28, 0.0001)); in TEST_F() 117 EXPECT_EQ(0, CompareOutputData(out, correct, 18)); in TEST_F() 139 EXPECT_EQ(0, CompareOutputData(out, correct, 54)); in TEST_F()
|
D | matmul_fp32_tests.cc | 48 ASSERT_EQ(0, CompareOutputData(out, co, 144, 0.0001)); in TEST_F() 68 ASSERT_EQ(0, CompareOutputData(out, co, 120, 0.0001)); in TEST_F() 140 …ASSERT_EQ(0, CompareOutputData(reinterpret_cast<float *>(outputs_[0]->MutableData()), correct, tot… in TEST_F() 174 …ASSERT_EQ(0, CompareOutputData(reinterpret_cast<float *>(outputs_[0]->MutableData()), correct, tot… in TEST_F() 266 …ASSERT_EQ(0, CompareOutputData(reinterpret_cast<float *>(outputs_[0]->MutableData()), correct, tot… in TEST_F() 297 …ASSERT_EQ(0, CompareOutputData(reinterpret_cast<float *>(outputs_[0]->MutableData()), correct, tot… in TEST_F() 352 …ASSERT_EQ(0, CompareOutputData(reinterpret_cast<float *>(outputs_[0]->MutableData()), correct, tot… in TEST_F()
|
D | pad_fp32_test.cc | 136 ASSERT_EQ(0, CompareOutputData(out_data, expect.data(), 432, err_tol)); in TEST_F() 171 ASSERT_EQ(0, CompareOutputData(out_data, expect.data(), 300, err_tol)); in TEST_F() 207 ASSERT_EQ(0, CompareOutputData(out_data, expect.data(), 300, err_tol)); in TEST_F() 243 ASSERT_EQ(0, CompareOutputData(out_data, expect.data(), 300, err_tol)); in TEST_F() 279 ASSERT_EQ(0, CompareOutputData(out_data, expect.data(), 300, err_tol)); in TEST_F()
|
D | space_to_batch_fp32_tests.cc | 49 ASSERT_EQ(0, CompareOutputData(out, expect_out.data(), kOutSize, 0.000001)); in TEST_F() 70 ASSERT_EQ(0, CompareOutputData(out, expect_out.data(), kOutSize, 0.000001)); in TEST_F() 91 ASSERT_EQ(0, CompareOutputData(out, expect_out.data(), kOutSize, 0.000001)); in TEST_F()
|
D | l2norm_fp32_test.cc | 96 ASSERT_EQ(0, CompareOutputData(output_data, expect.data(), output_size, err_tol_)); in TEST_F() 117 ASSERT_EQ(0, CompareOutputData(output_data, expect.data(), output_size, err_tol_)); in TEST_F() 138 ASSERT_EQ(0, CompareOutputData(output_data, expect.data(), output_size, err_tol_)); in TEST_F() 159 ASSERT_EQ(0, CompareOutputData(output_data, expect.data(), output_size, err_tol_)); in TEST_F()
|
D | detection_post_process_test.cc | 137 ASSERT_EQ(0, CompareOutputData(output_boxes, correct_boxes, outputs_[0]->ElementsNum(), 0.0001)); in TEST_F() 144 …ASSERT_EQ(0, CompareOutputData(output_classes, correct_classes, outputs_[1]->ElementsNum(), 0.0001… in TEST_F() 151 …ASSERT_EQ(0, CompareOutputData(output_scores, correct_scores, outputs_[2]->ElementsNum(), 0.0001)); in TEST_F() 158 …ASSERT_EQ(0, CompareOutputData(output_num_det, correct_num_det, outputs_[3]->ElementsNum(), 0.0001… in TEST_F()
|
D | strided_slice_fp32_tests.cc | 88 ASSERT_EQ(0, CompareOutputData(output_data, correct, 2, 0.00001)); in TEST_F() 114 ASSERT_EQ(0, CompareOutputData(output_data, correct, 9, 0.00001)); in TEST_F() 169 ASSERT_EQ(0, CompareOutputData(output_data, correct, 2, 0.000001)); in TEST_F() 223 ASSERT_EQ(0, CompareOutputData(output_data, correct, 4, 0.000001)); in TEST_F() 284 ASSERT_EQ(0, CompareOutputData(output_data, correct, 12, 0.000001)); in TEST_F() 345 ASSERT_EQ(0, CompareOutputData(output_data, correct, 8, 0.000001)); in TEST_F() 398 ASSERT_EQ(0, CompareOutputData(output_data, correct, 1, 0.000001)); in TEST_F() 459 ASSERT_EQ(0, CompareOutputData(output_data, correct, 5, 0.000001)); in TEST_F() 613 ASSERT_EQ(0, CompareOutputData(output_data, correct, 490, 0.000001)); in TEST_F()
|
D | one_hot_fp32_test.cc | 98 ASSERT_EQ(0, CompareOutputData(out_data, expect.data(), 36, err_tol)); in TEST_F() 117 ASSERT_EQ(0, CompareOutputData(out_data, expect.data(), 36, err_tol)); in TEST_F() 136 ASSERT_EQ(0, CompareOutputData(out_data, expect.data(), 36, err_tol)); in TEST_F()
|
D | depth_to_space_fp32_test.cc | 54 ASSERT_EQ(0, CompareOutputData(output, expect_out, kOutSize, 0.000001)); in TEST_F() 83 ASSERT_EQ(0, CompareOutputData(output, expect_out, kOutSize, 0.000001)); in TEST_F()
|
D | transpose_fp32_tests.cc | 144 ASSERT_EQ(0, CompareOutputData(out, correct, 24, 0.000001)); in TEST_F() 176 ASSERT_EQ(0, CompareOutputData(out, correct, 24, 0.000001)); in TEST_F() 208 ASSERT_EQ(0, CompareOutputData(out, correct, 24, 0.000001)); in TEST_F() 257 ASSERT_EQ(0, CompareOutputData(output.data(), correct, 24, 0.000001)); in TEST_F()
|
D | scale_fp32_tests.cc | 117 ASSERT_EQ(0, CompareOutputData(out_data, expect.data(), 12, err_tol)); in TEST_F() 139 ASSERT_EQ(0, CompareOutputData(out_data, expect.data(), 12, err_tol)); in TEST_F() 160 ASSERT_EQ(0, CompareOutputData(out_data, expect.data(), 12, err_tol)); in TEST_F()
|
D | space_to_depth_fp32_tests.cc | 48 ASSERT_EQ(0, CompareOutputData(output, expect_out, out_size, 0.000001)); in TEST_F() 94 ASSERT_EQ(0, CompareOutputData(output.data(), expect_out, out_size, 0.000001)); in TEST_F()
|
D | lsh_projection_fp32_tests.cc | 76 ASSERT_EQ(0, CompareOutputData(output_data, except_result.data(), 6, 0.000001)); in TEST_F() 119 ASSERT_EQ(0, CompareOutputData(output_data, except_result.data(), 3, 0.000001)); in TEST_F() 166 ASSERT_EQ(0, CompareOutputData(output_data, except_result.data(), 3, 0.000001)); in TEST_F()
|
D | activation_fp32_test.cc | 137 ASSERT_EQ(0, CompareOutputData(output.data(), expect_output.data(), 8, 0.00001)); in TEST_F() 184 ASSERT_EQ(0, CompareOutputData(output.data(), expect_output.data(), 8, 0.00001)); in TEST_F() 231 ASSERT_EQ(0, CompareOutputData(output.data(), expect_output.data(), 8, 0.00001)); in TEST_F() 277 ASSERT_EQ(0, CompareOutputData(output.data(), expect_output.data(), 14, 0.00001)); in TEST_F()
|
/third_party/mindspore/mindspore/lite/test/ut/src/runtime/kernel/arm/int8/ |
D | deconv_int8_tests.cc | 49 ASSERT_EQ(0, CompareOutputData(dst, co, 80, 1)); in TEST_F() 106 ASSERT_EQ(0, CompareOutputData(dst, co, 528, 1)); in TEST_F() 132 ASSERT_EQ(0, CompareOutputData(dst, co, 8 * 32, 1)); in TEST_F() 151 ASSERT_EQ(0, CompareOutputData(input_sum, correct_input_sum, 12, 0)); in TEST_F() 156 ASSERT_EQ(0, CompareOutputData(input_sum_4, correct_input_sum_4, 4, 0)); in TEST_F() 205 ASSERT_EQ(0, CompareOutputData(packed_a, correct_packed_a, 16 * 12, 0)); in TEST_F() 239 ASSERT_EQ(0, CompareOutputData(packed_b, correct_packed_b, 16 * 3 * 8, 0)); in TEST_F() 246 ASSERT_EQ(0, CompareOutputData(input_sum, correct_input_sum, 12, 0)); in TEST_F() 254 ASSERT_EQ(0, CompareOutputData(weight_sum, correct_weight_sum, 3 * 8, 0)); in TEST_F() 335 ASSERT_EQ(0, CompareOutputData(tmp_output, correct_tmp_output, 12 * 3 * 8, 0)); in TEST_F() [all …]
|
D | split_int8_tests.cc | 105 ASSERT_EQ(0, CompareOutputData(output1, except_result1.data(), output1_size, 0.000001)); in TEST_F() 106 ASSERT_EQ(0, CompareOutputData(output2, except_result2.data(), output2_size, 0.000001)); in TEST_F() 199 ASSERT_EQ(0, CompareOutputData(output1, except_result1.data(), output1_size, 0.000001)); in TEST_F() 200 ASSERT_EQ(0, CompareOutputData(output2, except_result2.data(), output2_size, 0.000001)); in TEST_F() 201 ASSERT_EQ(0, CompareOutputData(output3, except_result3.data(), output3_size, 0.000001)); in TEST_F() 296 ASSERT_EQ(0, CompareOutputData(output1, except_result1.data(), output1_size, 0.000001)); in TEST_F() 297 ASSERT_EQ(0, CompareOutputData(output2, except_result2.data(), output2_size, 0.000001)); in TEST_F() 298 ASSERT_EQ(0, CompareOutputData(output3, except_result3.data(), output3_size, 0.000001)); in TEST_F()
|
D | arithmetic_self_int8_tests.cc | 85 ASSERT_EQ(0, CompareOutputData(output, except_result.data(), output_size, 0.000001)); in TEST_F() 148 ASSERT_EQ(0, CompareOutputData(output, except_result.data(), output_size, 0.000001)); in TEST_F() 211 ASSERT_EQ(0, CompareOutputData(output, except_result.data(), output_size, 0.000001)); in TEST_F() 274 ASSERT_EQ(0, CompareOutputData(output, except_result.data(), output_size, 0.000001)); in TEST_F() 337 ASSERT_EQ(0, CompareOutputData(output, except_result.data(), output_size, 0.000001)); in TEST_F() 400 ASSERT_EQ(0, CompareOutputData(output, except_result.data(), output_size, 0.000001)); in TEST_F() 463 ASSERT_EQ(0, CompareOutputData(output, except_result.data(), output_size, 0.000001)); in TEST_F() 526 ASSERT_EQ(0, CompareOutputData(output, except_result.data(), output_size, 0.000001)); in TEST_F() 589 ASSERT_EQ(0, CompareOutputData(output, except_result.data(), output_size, 0.000001)); in TEST_F() 652 ASSERT_EQ(0, CompareOutputData(output, except_result.data(), output_size, 0.000001)); in TEST_F() [all …]
|
D | crop_int8_tests.cc | 90 ASSERT_EQ(0, CompareOutputData(output, except_result.data(), output_size, 0.000001)); in TEST_F() 157 ASSERT_EQ(0, CompareOutputData(output, except_result.data(), output_size, 0.000001)); in TEST_F() 224 ASSERT_EQ(0, CompareOutputData(output, except_result.data(), output_size, 0.000001)); in TEST_F() 292 ASSERT_EQ(0, CompareOutputData(output, except_result.data(), output_size, 0.000001)); in TEST_F() 359 ASSERT_EQ(0, CompareOutputData(output, except_result.data(), output_size, 0.000001)); in TEST_F() 426 ASSERT_EQ(0, CompareOutputData(output, except_result.data(), output_size, 0.000001)); in TEST_F() 496 ASSERT_EQ(0, CompareOutputData(output, except_result.data(), output_size, 0.000001)); in TEST_F() 566 ASSERT_EQ(0, CompareOutputData(output, except_result.data(), output_size, 0.000001)); in TEST_F() 635 ASSERT_EQ(0, CompareOutputData(output, except_result.data(), output_size, 0.000001)); in TEST_F() 704 ASSERT_EQ(0, CompareOutputData(output, except_result.data(), output_size, 0.000001)); in TEST_F()
|
D | conv_1x1_int8_tests.cc | 45 ASSERT_EQ(0, CompareOutputData(out, correct, 54, 0)); in TEST_F() 68 ASSERT_EQ(0, CompareOutputData(out, correct, 20, 0)); in TEST_F() 132 …ASSERT_EQ(0, CompareOutputData(reinterpret_cast<int8_t *>(outputs_[0]->MutableData()), correct, to… in TEST_F() 201 …ASSERT_EQ(0, CompareOutputData(reinterpret_cast<int8_t *>(outputs_[0]->MutableData()), correct, to… in TEST_F() 278 …ASSERT_EQ(0, CompareOutputData(reinterpret_cast<int8_t *>(outputs_[0]->MutableData()), correct, to… in TEST_F()
|