Searched refs:mean_diff (Results 1 – 9 of 9) sorted by relevance
72 const float mean_diff = static_cast<float>(sum_diff / output_buffer_size); in TestOneResizeBilinear() local73 const float relative_error = std::abs(mean_diff) / max_abs_val; in TestOneResizeBilinear()
120 const float mean_diff = static_cast<float>(sum_diff) / buffer_size; in CheckOutputData() local132 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()
54 const float mean_diff = in TestOneDepthwiseConv() local56 const float relative_error = std::abs(mean_diff) / max_abs_val; in TestOneDepthwiseConv()
83 const float mean_diff = static_cast<float>(sum_diff) / buffer_size; in CheckOutputData() local92 ASSERT_TRUE(((std::abs(mean_diff) < 2e-2f && mean_abs_diff < 3e-2f) || in CheckOutputData()
363 const float mean_diff = static_cast<float>(sum_diff) / output_buffer_size; in TestOneDepthwiseConvWithGivenOutputShift() local385 EXPECT_LT(std::abs(mean_diff), mean_tolerance); in TestOneDepthwiseConvWithGivenOutputShift()390 EXPECT_TRUE(std::abs(mean_diff) < mean_tolerance && in TestOneDepthwiseConvWithGivenOutputShift()
219 mean_diff = sum_diff / self.TEST_DURATION220 slope = ((sum_rtc_diff - sum_rtc * mean_diff) /
254 const double mean_diff = (1.0 * sv->sum_s - sv->sum_r) / n; in ssimv_similarity2() local255 const double l = (255 * 255 - mean_diff * mean_diff + c1) / (255 * 255 + c1); in ssimv_similarity2()
245 const double mean_diff = (1.0 * sv->sum_s - sv->sum_r) / n; in ssimv_similarity2() local246 const double l = (255 * 255 - mean_diff * mean_diff + c1) / (255 * 255 + c1); in ssimv_similarity2()
416 opus_val32 mean_diff=0; in patch_transient_decision() local440 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()