Searched refs:percent_string (Results 1 – 2 of 2) sorted by relevance
/external/tensorflow/tensorflow/compiler/xla/ |
D | literal_comparison.cc | 545 auto percent_string = [](float a, float b) { in ErrorMessage() local 554 num_mismatches_, percent_string(num_mismatches_, element_count), in ErrorMessage() 581 bucket_size, percent_string(bucket_size, element_count), in ErrorMessage() 590 percent_string(total - buckets[0], total)); in ErrorMessage() 594 buckets[i], percent_string(buckets[i], total)); in ErrorMessage() 599 percent_string(num_abs_mismatches_, element_count)); in ErrorMessage() 605 percent_string(num_rel_mismatches_, element_count)); in ErrorMessage()
|
/external/autotest/server/cros/chaos_lib/ |
D | chaos_parser.py | 116 percent_string = str(int(round(percent))) + '%' 117 return str('%d/%d (%s)' % (passed_tests, total_tests, percent_string))
|