Home
last modified time | relevance | path

Searched refs:mean_diff (Results 1 – 10 of 10) sorted by relevance

/external/tensorflow/tensorflow/lite/kernels/internal/
Ddepthwiseconv_float_test.cc57 const float mean_diff = in TestOneDepthwiseConv() local
59 const float relative_error = std::abs(mean_diff) / max_abs_val; in TestOneDepthwiseConv()
Dlogsoftmax_quantized_test.cc120 const float mean_diff = static_cast<float>(sum_diff) / buffer_size; in CheckOutputData() local
132 ASSERT_TRUE(((std::abs(mean_diff) < 2e-2f && mean_abs_diff < 3e-2f) || in CheckOutputData()
137 << "buffer_size=" << buffer_size << ", mean_diff=" << mean_diff in CheckOutputData()
Ddepthwiseconv_per_channel_quantized_test.cc161 const float mean_diff = static_cast<float>(sum_diff) / flat_size; in CompareRoundingResults() local
177 EXPECT_LT(std::abs(mean_diff), mean_tolerance); in CompareRoundingResults()
182 EXPECT_TRUE(std::abs(mean_diff) < mean_tolerance && in CompareRoundingResults()
Dsoftmax_quantized_test.cc84 const float mean_diff = static_cast<float>(sum_diff) / buffer_size; in CheckOutputData() local
95 ASSERT_LT(std::abs(mean_diff), 2e-2f); in CheckOutputData()
Dresize_bilinear_test.cc90 const float mean_diff = static_cast<float>(sum_diff / output_buffer_size); in TestOneResizeBilinear() local
91 const float relative_error = std::abs(mean_diff) / max_abs_val; in TestOneResizeBilinear()
Ddepthwiseconv_quantized_test.cc688 const float mean_diff = static_cast<float>(sum_diff) / output_buffer_size; in TestOneDepthwiseConvWithGivenOutputShift() local
710 EXPECT_LT(std::abs(mean_diff), mean_tolerance); in TestOneDepthwiseConvWithGivenOutputShift()
715 EXPECT_TRUE(std::abs(mean_diff) < mean_tolerance && in TestOneDepthwiseConvWithGivenOutputShift()
/external/libvpx/vpx_dsp/
Dssim.c254 const double mean_diff = (1.0 * sv->sum_s - sv->sum_r) / n; in ssimv_similarity2() local
255 const double l = (255 * 255 - mean_diff * mean_diff + c1) / (255 * 255 + c1); in ssimv_similarity2()
/external/libaom/aom_dsp/
Dssim.c201 const double mean_diff = (1.0 * sv->sum_s - sv->sum_r) / n; in ssimv_similarity2() local
202 const double l = (255 * 255 - mean_diff * mean_diff + c1) / (255 * 255 + c1); in ssimv_similarity2()
/external/libopus/celt/
Dcelt_encoder.c416 opus_val32 mean_diff=0; in patch_transient_decision() local
440 mean_diff = ADD32(mean_diff, EXTEND32(MAX16(0, SUB16(x1, x2)))); in patch_transient_decision()
443 mean_diff = DIV32(mean_diff, C*(end-1-IMAX(2,start))); in patch_transient_decision()
445 return mean_diff > QCONST16(1.f, DB_SHIFT); in patch_transient_decision()
/external/ruy/ruy/
Dtest.h1440 double mean_diff = sum_diff / size;
1441 if (std::abs(mean_diff) > tolerated_mean_diff) {