Searched refs:relative_error (Results 1 – 8 of 8) sorted by relevance
55 double relative_error = fabs(pdf - kPdfVoice) / kPdfVoice; in TEST() local56 EXPECT_LE(relative_error, kAcceptedRelativeErr); in TEST()61 relative_error = fabs(pdf - kPdfNoise) / kPdfNoise; in TEST()62 EXPECT_LE(relative_error, kAcceptedRelativeErr); in TEST()
12 double relative_error = (A*x - b).norm() / b.norm(); // norm() is L2 norm in main() local13 cout << "The relative error is:\n" << relative_error << endl; in main()
73 const float relative_error = std::abs(mean_diff) / max_abs_val; in TestOneResizeBilinear() local74 ASSERT_LT(relative_error, error_threshold); in TestOneResizeBilinear()
56 const float relative_error = std::abs(mean_diff) / max_abs_val; in TestOneDepthwiseConv() local57 ASSERT_LT(relative_error, 1e-5f); in TestOneDepthwiseConv()
129 const float relative_error = fabsf(error / outputs_ref[node]); in RunNnPredictTest() local130 ASSERT_LE(relative_error, epsilon) in RunNnPredictTest()
133 …lateRelativeError(glw::GLfloat result, glw::GLfloat expected_result, glw::GLfloat& relative_error);
356 glw::GLfloat& relative_error) in calculateRelativeError() argument360 relative_error = delta / expected_result; in calculateRelativeError()
664 relative_error = diff / list1[i]666 if relative_error < equivalent_threshold: