Searched refs:tol_ (Results 1 – 1 of 1) sorted by relevance
/external/tensorflow/tensorflow/core/kernels/ |
D | lrn_op_test.cc | 34 static const float tol_ = 1e-4; variable 85 ((expected - actual).abs() > actual.constant(tol_)) in Compare() 111 EXPECT_NEAR(1. / (10.1 * 10.1), actual(0, 0, 0, 0), tol_); in TEST_F() 115 EXPECT_NEAR(6. / (51.6 * 51.6), actual(0, 0, 0, 5), tol_); in TEST_F() 119 EXPECT_NEAR(64. / (2272.1 * 2272.1), actual(0, 0, 0, 63), tol_); in TEST_F() 123 EXPECT_NEAR(65. / (2736.5 * 2736.5), actual(0, 0, 0, 64), tol_); in TEST_F() 127 EXPECT_NEAR(96. / (5248.1 * 5248.1), actual(0, 0, 0, 95), tol_); in TEST_F() 147 EXPECT_NEAR(1. / (10.1 * 10.1), actual(0, 0, 0, 0), tol_); in TEST_F() 151 EXPECT_NEAR(6. / (51.6 * 51.6), actual(0, 0, 0, 5), tol_); in TEST_F() 155 EXPECT_NEAR(16. / (112.1 * 112.1), actual(0, 0, 0, 15), tol_); in TEST_F()
|