Home | History | Annotate | Download | only in kernels

Lines Matching defs:tolerance

37                         int tolerance = 1) {
63 const string tolerance_str = strings::StrCat("+-", tolerance);
67 ASSERT_TRUE(std::abs(e - v) <= tolerance)
79 int tolerance = 256) {
99 const string tolerance_str = strings::StrCat("+-", tolerance);
103 ASSERT_TRUE(std::abs(e - v) <= tolerance)
261 const int tolerance = 1;
268 ASSERT_TRUE(std::abs(expected - actual) <= tolerance)
270 << " tolerance=" << tolerance << " v=" << values_quantized[i]
364 const int tolerance = 1;
373 ASSERT_TRUE(std::abs(expected - actual) <= tolerance)
375 << " tolerance=" << tolerance << " v=" << input_array(i) << " i=" << i
500 const float tolerance = step_size / 1000.0f;
506 EXPECT_NEAR(f, back_to_float, tolerance);