literal_comparison.cc | 281 float rel_error; member in struct:xla::literal_comparison::__anon44275::NearComparator::Mismatch 289 return rel_error < other.rel_error; 299 rel_error, abs_error); 374 float rel_error; local 377 rel_error = 0; 382 // A nan mismatch is considered to have infinite error. rel_error is 387 rel_error = std::numeric_limits<float>::infinity(); 390 rel_error = 0; 402 rel_error = abs_error / FpAbsoluteValue(expected) [all...] |