Searched refs:mean_diff (Results 1 – 10 of 10) sorted by relevance
/external/tensorflow/tensorflow/lite/kernels/internal/ |
D | depthwiseconv_float_test.cc | 57 const float mean_diff = in TestOneDepthwiseConv() local 59 const float relative_error = std::abs(mean_diff) / max_abs_val; in TestOneDepthwiseConv()
|
D | logsoftmax_quantized_test.cc | 120 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()
|
D | depthwiseconv_per_channel_quantized_test.cc | 161 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()
|
D | softmax_quantized_test.cc | 84 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()
|
D | resize_bilinear_test.cc | 90 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()
|
D | depthwiseconv_quantized_test.cc | 688 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/ |
D | ssim.c | 254 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/ |
D | ssim.c | 201 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/ |
D | celt_encoder.c | 416 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/ |
D | test.h | 1440 double mean_diff = sum_diff / size; 1441 if (std::abs(mean_diff) > tolerated_mean_diff) {
|