Searched refs:relative_error (Results 1 – 9 of 9) 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()
59 const float relative_error = std::abs(mean_diff) / max_abs_val; in TestOneDepthwiseConv() local60 ASSERT_LT(relative_error, 1e-5f); in TestOneDepthwiseConv()
72 const float relative_error = std::abs(mean_diff) / max_abs_val; in TestOneResizeBilinear() local73 ASSERT_LT(relative_error, error_threshold); in TestOneResizeBilinear()
131 const float relative_error = fabsf(error / outputs_ref[node]); in RunNnPredictTest() local132 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()
745 relative_error = diff / list1[i]747 if relative_error < equivalent_threshold:
691 static inline cl_float relative_error(float test, float expected) in relative_error() function