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.cc296 double rel_error; member
304 return rel_error < other.rel_error; in operator <()
314 rel_error, abs_error); in ToString()
391 double rel_error; in CompareValues() local
394 rel_error = 0; in CompareValues()
404 rel_error = std::numeric_limits<float>::infinity(); in CompareValues()
407 rel_error = 0; in CompareValues()
419 rel_error = abs_error / FpAbsoluteValue(expected); in CompareValues()
421 rel_error = std::numeric_limits<float>::infinity(); in CompareValues()
428 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.py359 rel_error = math.fabs(final_count - expected_count) / expected_count
360 print(rel_error)
361 self.assertTrue(rel_error < 0.15)
386 rel_error = math.fabs(final_count - expected_count) / expected_count
387 print(rel_error)
388 self.assertTrue(rel_error < 0.15)
431 rel_error = math.fabs(final_count - expected_count) / expected_count
432 print(rel_error)
433 self.assertTrue(rel_error < 0.15)
467 rel_error = math.fabs(final_count - expected_count) / expected_count
[all …]