Home
last modified time | relevance | path

Searched refs:mean_abs_diff (Results 1 – 5 of 5) sorted by relevance

/external/tensorflow/tensorflow/lite/kernels/internal/
Dlogsoftmax_quantized_test.cc121 const float mean_abs_diff = static_cast<float>(sum_abs_diff) / buffer_size; in CheckOutputData() local
132 ASSERT_TRUE(((std::abs(mean_diff) < 2e-2f && mean_abs_diff < 3e-2f) || in CheckOutputData()
138 << ", mean_abs_diff=" << mean_abs_diff in CheckOutputData()
Ddepthwiseconv_per_channel_quantized_test.cc162 const float mean_abs_diff = static_cast<float>(sum_abs_diff) / flat_size; in CompareRoundingResults() local
178 EXPECT_LT(mean_abs_diff, mean_tolerance); in CompareRoundingResults()
183 mean_abs_diff < mean_tolerance && in CompareRoundingResults()
Dsoftmax_quantized_test.cc85 const float mean_abs_diff = static_cast<float>(sum_abs_diff) / buffer_size; in CheckOutputData() local
96 ASSERT_LT(mean_abs_diff, 3e-2f); in CheckOutputData()
Ddepthwiseconv_quantized_test.cc689 const float mean_abs_diff = in TestOneDepthwiseConvWithGivenOutputShift() local
711 EXPECT_LT(mean_abs_diff, mean_tolerance); in TestOneDepthwiseConvWithGivenOutputShift()
716 mean_abs_diff < mean_tolerance && in TestOneDepthwiseConvWithGivenOutputShift()
/external/tensorflow/tensorflow/lite/kernels/
Dcpu_backend_gemm_test.cc152 double mean_abs_diff; member
176 error_stats->mean_abs_diff = sum_abs_diff / actual.size(); in ComputeErrorStats()
229 EXPECT_LE(error_stats.mean_abs_diff, tolerated_mean_abs_diff); in CheckErrorStats()
233 error_stats.mean_abs_diff <= tolerated_mean_abs_diff && in CheckErrorStats()