Home
last modified time | relevance | path

Searched defs:rtol (Results 1 – 25 of 29) sorted by relevance

12

/external/tensorflow/tensorflow/compiler/tests/
Dspecial_math_test.py91 def adjust_tolerance_for_tpu(self, dtype, rtol, atol): argument
99 def _test_range(self, low, high, dtype, rtol, atol, is_negative=False): argument
115 def testSmallX(self, dtype, rtol, atol): argument
121 def testGreaterThanNegativeTwentyExponent(self, dtype, rtol, atol): argument
127 def testGreaterThanNegativeTenExponent(self, dtype, rtol, atol): argument
133 def testGreaterThanNegativeFiveExponent(self, dtype, rtol, atol): argument
139 def testXGreaterThanOneTenth(self, dtype, rtol, atol): argument
145 def testXGreaterThanOne(self, dtype, rtol, atol): argument
161 def adjust_tolerance_for_tpu(self, dtype, rtol, atol): argument
196 def testLargeXSmallQ(self, dtype, rtol, atol): argument
[all …]
Dunary_ops_test.py57 rtol=1e-3, argument
83 def ListsAreClose(self, result, expected, rtol, atol): argument
89 def AssertCloseAndSorted(self, result, expected, rtol, atol): argument
94 def AssertAllEqual(self, result, expected, rtol, atol): argument
1171 rtol=1e-6, argument
Dternary_ops_test.py36 def _testTernary(self, op, a, b, c, expected, rtol=1e-3, atol=1e-6): argument
254 def testBetainc(self, sigma, rtol, atol): argument
Dmatrix_diag_ops_test.py338 rtol=1e-3, argument
524 rtol=1e-3, argument
657 rtol=1e-3, argument
Dreduce_ops_test.py45 rtol=1e-4, argument
194 rtol=1e-3, argument
Dbinary_ops_test.py49 rtol=None, argument
69 def ListsAreClose(self, result, expected, rtol, atol): argument
505 def NextAfterEqualityTest(result, expected, rtol, atol): argument
Drandomized_tests.cc717 bool IsClose(const T& x, const T& y, double atol, double rtol) { in IsClose()
725 double rtol) { in IsClose()
751 double rtol) { in TensorsAreCloseImpl()
799 double rtol) { in TensorsAreClose()
832 const OpTestBuilder& builder, double atol, double rtol) { in ExpectTfAndXlaOutputsAreClose()
/external/tensorflow/tensorflow/core/framework/
Dtensor_testutil.cc118 const T& rtol) { in IsClose()
132 const T& atol, const T& rtol) { in IsClose()
151 double rtol) { in ExpectClose()
224 void ExpectClose(const Tensor& x, const Tensor& y, double atol, double rtol) { in ExpectClose()
247 double atol, double rtol) { in IsClose()
252 double rtol) { in IsClose()
257 double atol, double rtol) { in IsClose()
/external/tensorflow/tensorflow/python/ops/parallel_for/
Dtest_util.py42 def run_and_assert_equal(self, targets1, targets2, rtol=1e-4, atol=1e-5): argument
57 rtol=1e-4, argument
Dgradients_test.py357 def run_and_assert_equal(self, targets1, targets2, atol=1e-4, rtol=1e-4): argument
Dcontrol_flow_ops_test.py667 def run_and_assert_equal(self, targets1, targets2, rtol=1e-4, atol=1e-5): argument
765 def run_and_assert_equal(self, targets1, targets2, rtol=1e-4, atol=1e-5): argument
/external/tensorflow/tensorflow/python/ops/distributions/
Dbijector_test_util.py52 rtol=0.01, argument
164 bijector, x, y, event_ndims, atol=0, rtol=1e-5, sess=None): argument
/external/tensorflow/tensorflow/python/keras/mixed_precision/
Dlayer_correctness_test.py151 def test_layer(self, f32_layer_fn, input_shape, rtol=2e-3, atol=2e-3, argument
/external/tensorflow/tensorflow/python/kernel_tests/signal/
Dfft_ops_test.py47 rtol=1e-4, atol=1e-4): argument
52 rtol=1e-4, atol=1e-4): argument
66 rtol=1e-4, atol=1e-4): argument
86 rtol=1e-2, atol=1e-2): argument
108 def _check_grad_real(self, func, x, rtol=1e-2, atol=1e-2): argument
Ddct_ops_test.py152 def _compare(self, signals, n, norm, dct_type, atol, rtol): argument
/external/tensorflow/tensorflow/tools/docs/
Dtf_doctest_lib.py118 def _allclose(self, want, got, rtol=1e-3, atol=1e-3): argument
/external/tensorflow/tensorflow/python/framework/
Dtest_util.py2569 def _assertArrayLikeAllClose(self, a, b, rtol=1e-6, atol=1e-6, msg=None): argument
2623 rtol=1e-6, argument
2691 def assertAllClose(self, a, b, rtol=1e-6, atol=1e-6, msg=None): argument
2729 rtol=1e-6, argument
2774 def assertNotAllClose(self, a, b, rtol=1e-6, atol=1e-6, msg=None): argument
3160 def _assertRaggedClose(self, a, b, rtol, atol, msg=None): argument
3170 def _assertListCloseRecursive(self, a, b, rtol, atol, msg, path="value"): argument
/external/tensorflow/tensorflow/python/keras/integration_test/
Dforwardprop_test.py131 rtol=1e-2, argument
/external/tensorflow/tensorflow/core/kernels/mlir_generated/
Dbase_ops_test.h65 double rtol = -1; member
/external/vboot_reference/firmware/lib/
Dvboot_display.c152 int rtol = 0; in VbDisplayScreenFromGBB() local
/external/tensorflow/tensorflow/python/kernel_tests/
Dreduction_ops_test.py177 def _compareGradient(self, x, reduction_axes, rtol=1e-8, atol=1e-8): argument
188 def _compareGradientAxes(self, x, rtol=1e-8, atol=1e-8): argument
/external/tensorflow/tensorflow/python/ops/
Dcheck_ops.py725 def assert_near_v2(x, y, rtol=None, atol=None, message=None, summarize=None, argument
781 x, y, rtol=None, atol=None, data=None, summarize=None, message=None, argument
Dgradients_test.py1479 def _test_gradients(self, f, inputs, order, delta=1e-3, rtol=1e-2, atol=1e-6): argument
/external/tensorflow/tensorflow/python/ops/numpy_ops/
Dnp_math_ops.py468 def isclose(a, b, rtol=1e-05, atol=1e-08, equal_nan=False): # pylint: disable=missing-docstring argument
486 def allclose(a, b, rtol=1e-05, atol=1e-08, equal_nan=False): argument
/external/tensorflow/tensorflow/python/eager/
Dforwardprop_test.py203 rtol=1e-2, argument

12