Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/lite/kernels/internal/
Dresize_bilinear_test.cc72 const float mean_diff = static_cast<float>(sum_diff / output_buffer_size); in TestOneResizeBilinear() local
73 const float relative_error = std::abs(mean_diff) / max_abs_val; in TestOneResizeBilinear()
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_float_test.cc54 const float mean_diff = in TestOneDepthwiseConv() local
56 const float relative_error = std::abs(mean_diff) / max_abs_val; in TestOneDepthwiseConv()
Dsoftmax_quantized_test.cc83 const float mean_diff = static_cast<float>(sum_diff) / buffer_size; in CheckOutputData() local
92 ASSERT_TRUE(((std::abs(mean_diff) < 2e-2f && mean_abs_diff < 3e-2f) || in CheckOutputData()
Ddepthwiseconv_quantized_test.cc363 const float mean_diff = static_cast<float>(sum_diff) / output_buffer_size; in TestOneDepthwiseConvWithGivenOutputShift() local
385 EXPECT_LT(std::abs(mean_diff), mean_tolerance); in TestOneDepthwiseConvWithGivenOutputShift()
390 EXPECT_TRUE(std::abs(mean_diff) < mean_tolerance && in TestOneDepthwiseConvWithGivenOutputShift()
/external/autotest/client/site_tests/kernel_Ktime/
Dkernel_Ktime.py219 mean_diff = sum_diff / self.TEST_DURATION
220 slope = ((sum_rtc_diff - sum_rtc * mean_diff) /
/external/libvpx/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/libaom/aom_dsp/
Dssim.c245 const double mean_diff = (1.0 * sv->sum_s - sv->sum_r) / n; in ssimv_similarity2() local
246 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()