Home
last modified time | relevance | path

Searched refs:rel_error (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/
Dliteral_comparison.cc281 float rel_error; member
289 return rel_error < other.rel_error; in operator <()
299 rel_error, abs_error); in ToString()
374 float rel_error; in CompareValues() local
377 rel_error = 0; in CompareValues()
387 rel_error = std::numeric_limits<float>::infinity(); in CompareValues()
390 rel_error = 0; in CompareValues()
402 rel_error = abs_error / FpAbsoluteValue(expected); in CompareValues()
404 rel_error = std::numeric_limits<float>::infinity(); in CompareValues()
411 rel_error = std::numeric_limits<float>::infinity(); in CompareValues()
[all …]
/external/eigen/bench/spbench/
Dspbenchsolver.h220 double rel_error; in call_solver() local
257 rel_error = (refX - x).norm()/refX.norm(); in call_solver()
263 rel_error = (b-temp).norm()/b.norm(); in call_solver()
265 statbuf << " <ERROR> " << rel_error << "</ERROR>\n"; in call_solver()
266 std::cout<< "REL. ERROR : " << rel_error << "\n\n" ; in call_solver()
267 if ( rel_error <= RelErr ) in call_solver()
/external/tensorflow/tensorflow/python/ops/
Dnn_test.py329 rel_error = math.fabs(final_count - expected_count) / expected_count
330 print(rel_error)
331 self.assertTrue(rel_error < 0.15)
356 rel_error = math.fabs(final_count - expected_count) / expected_count
357 print(rel_error)
358 self.assertTrue(rel_error < 0.15)
401 rel_error = math.fabs(final_count - expected_count) / expected_count
402 print(rel_error)
403 self.assertTrue(rel_error < 0.15)
435 rel_error = math.fabs(final_count - expected_count) / expected_count
[all …]