Home
last modified time | relevance | path

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

1234

/aosp_15_r20/external/tensorflow/tensorflow/compiler/tests/
H A Dspecial_math_test.py83 def adjust_tolerance_for_tpu(self, dtype, rtol, atol): argument
91 def _test_range(self, low, high, dtype, rtol, atol, is_negative=False): argument
107 def testSmallX(self, dtype, rtol, atol): argument
113 def testGreaterThanNegativeTwentyExponent(self, dtype, rtol, atol): argument
119 def testGreaterThanNegativeTenExponent(self, dtype, rtol, atol): argument
125 def testGreaterThanNegativeFiveExponent(self, dtype, rtol, atol): argument
131 def testXGreaterThanOneTenth(self, dtype, rtol, atol): argument
137 def testXGreaterThanOne(self, dtype, rtol, atol): argument
150 def adjust_tolerance_for_tpu(self, dtype, rtol, atol): argument
206 def testLargeXSmallQ(self, dtype, rtol, atol): argument
[all …]
H A Dunary_ops_test.py52 rtol=1e-3, argument
78 def ListsAreClose(self, result, expected, rtol, atol): argument
84 def AssertCloseAndSorted(self, result, expected, rtol, atol): argument
89 def AssertAllEqual(self, result, expected, rtol, atol): argument
1175 rtol=1e-6, argument
H A Dmatrix_diag_ops_test.py337 rtol=1e-3, argument
539 rtol=1e-3, argument
685 rtol=1e-3, argument
H A Dbinary_ops_test.py44 rtol=None, argument
64 def ListsAreClose(self, result, expected, rtol, atol): argument
495 def NextAfterEqualityTest(result, expected, rtol, atol): argument
H A Dternary_ops_test.py32 def _testTernary(self, op, a, b, c, expected, rtol=1e-3, atol=1e-6): argument
250 def testBetainc(self, sigma, rtol, atol): argument
/aosp_15_r20/external/executorch/runtime/core/exec_aten/testing_util/
H A Dtensor_util.h243 #define EXPECT_TENSOR_CLOSE_WITH_TOL(t1, t2, rtol, atol) \ argument
246 #define EXPECT_TENSOR_NOT_CLOSE_WITH_TOL(t1, t2, rtol, atol) \ argument
251 #define ASSERT_TENSOR_CLOSE_WITH_TOL(t1, t2, rtol, atol) \ argument
254 #define ASSERT_TENSOR_NOT_CLOSE_WITH_TOL(t1, t2, rtol, atol) \ argument
282 #define EXPECT_TENSOR_DATA_CLOSE_WITH_TOL(t1, t2, rtol, atol) \ argument
286 #define EXPECT_TENSOR_DATA_NOT_CLOSE_WITH_TOL(t1, t2, rtol, atol) \ argument
291 #define ASSERT_TENSOR_DATA_CLOSE_WITH_TOL(t1, t2, rtol, atol) \ argument
295 #define ASSERT_TENSOR_DATA_NOT_CLOSE_WITH_TOL(t1, t2, rtol, atol) \ argument
H A Dtensor_util.cpp42 double rtol, in data_is_close()
90 double rtol, in tensors_are_close()
159 double rtol, in tensor_data_is_close()
196 double rtol, in tensor_lists_are_close()
/aosp_15_r20/external/executorch/kernels/portable/cpu/
H A Dop_allclose.cpp34 double rtol, in data_is_close()
68 double rtol, in tensors_are_close()
97 double rtol, in allclose_out()
134 ET_UNUSED double rtol, in allclose_tensor()
152 double rtol, in allclose_out()
167 ET_UNUSED double rtol, in allclose_tensor()
/aosp_15_r20/external/tensorflow/tensorflow/core/framework/
H A Dtensor_testutil.cc134 const T& rtol) { in IsClose()
148 const T& atol, const T& rtol) { in IsClose()
167 double rtol) { in ExpectClose()
240 void ExpectClose(const Tensor& x, const Tensor& y, double atol, double rtol) { in ExpectClose()
263 double atol, double rtol) { in IsClose()
268 double rtol) { in IsClose()
273 double atol, double rtol) { in IsClose()
/aosp_15_r20/external/executorch/devtools/bundled_program/
H A Dbundled_program.cpp94 bool elem_is_close(const T& ai, const T& bi, double rtol, double atol) { in elem_is_close()
123 double rtol, in data_is_close()
137 double rtol, in data_is_close_half()
151 double rtol, in tensors_are_close()
345 double rtol, in verify_method_outputs()
/aosp_15_r20/external/pytorch/test/inductor/
H A Dtest_decompose_mem_bound_mm.py56 def compare_dict_tensors(self, ref_dict, res_dict, rtol=1e-3, atol=1e-3): argument
66 def compare_pred(self, module, traced, input, rtol=1e-3, atol=1e-3): argument
71 def compare_parameters(self, module, traced, rtol=1e-3, atol=1e-3): argument
76 def compare_gradients(self, module, traced, rtol=1e-3, atol=1e-3): argument
H A Dtest_group_batch_fusion.py294 def compare_dict_tensors(self, ref_dict, res_dict, rtol=1e-3, atol=1e-3): argument
304 def compare_pred(self, module, traced, input, rtol=1e-3, atol=1e-3): argument
309 def compare_parameters(self, module, traced, rtol=1e-3, atol=1e-3): argument
314 def compare_gradients(self, module, traced, rtol=1e-3, atol=1e-3): argument
/aosp_15_r20/external/pytorch/torch/autograd/
H A Dgradcheck.py1446 rtol, argument
1580 rtol, argument
1644 def _allclose_with_type_promotion(a, b, rtol, atol): argument
1748 func, tupled_inputs, outputs, input_idx, output_idx, rtol, atol, eps, is_forward_ad argument
1834 rtol, argument
1868 rtol, argument
2060 rtol, argument
/aosp_15_r20/external/tensorflow/tensorflow/python/kernel_tests/signal/
H A Dfft_ops_test.py43 rtol=1e-4, atol=1e-4): argument
48 rtol=1e-4, atol=1e-4): argument
59 rtol=1e-4, atol=1e-4): argument
76 rtol=1e-2, atol=1e-2): argument
95 def _check_grad_real(self, func, x, rtol=1e-2, atol=1e-2): argument
/aosp_15_r20/external/pytorch/torch/csrc/api/include/torch/
H A Dlinalg.h249 std::optional<double> rtol, in matrix_rank()
257 const std::optional<Tensor>& rtol, in matrix_rank()
282 std::optional<double> rtol, in matrix_rank_out()
291 const std::optional<Tensor>& rtol, in matrix_rank_out()
777 std::optional<double> rtol, in matrix_rank()
785 const std::optional<Tensor>& rtol, in matrix_rank()
810 std::optional<double> rtol, in matrix_rank_out()
819 const std::optional<Tensor>& rtol, in matrix_rank_out()
/aosp_15_r20/external/pytorch/aten/src/ATen/test/
H A Dvulkan_quantized_api_test.cpp716 int rtol = 1; in TEST_F() local
895 float rtol = 1; in TEST_F() local
1190 float rtol = 0; in TEST_F() local
1238 float rtol = 0; in TEST_F() local
1290 float rtol = 0; in TEST_F() local
1342 float rtol = 0; in TEST_F() local
1394 float rtol = 0; in TEST_F() local
1441 float rtol = 0; in TEST_F() local
1548 float rtol = 0; in test_conv2d() local
1656 float rtol = 0; in TEST_F() local
[all …]
H A Dmath_kernel_test.cpp9 bool allClose(const at::Tensor& t1, const at::Tensor& t2, double rtol=1e-5, double atol=1e-8) { in allClose()
23 #define ASSERT_ALLCLOSE_TOLERANCES(t1, t2, rtol, atol) \ argument
/aosp_15_r20/external/executorch/kernels/test/
H A DUnaryUfuncRealHBBF16ToFloatHBF16Test.h73 double rtol = executorch::runtime::testing::internal::kDefaultRtol; variable
81 double rtol = executorch::runtime::testing::internal::kDefaultRtol; variable
/aosp_15_r20/external/tensorflow/tensorflow/python/ops/parallel_for/
H A Dtest_util.py38 def run_and_assert_equal(self, targets1, targets2, rtol=1e-4, atol=1e-5): argument
53 rtol=1e-4, argument
/aosp_15_r20/external/executorch/kernels/portable/test/
H A Dop_allclose_test.cpp264 const double rtol = 1e-05; in TEST() local
286 const double rtol = 1e-05; in TEST() local
307 const double rtol = 1e-05; in TEST() local
328 const double rtol = 1e-05; in TEST() local
/aosp_15_r20/external/tensorflow/tensorflow/python/ops/distributions/
H A Dbijector_test_util.py48 rtol=0.01, argument
160 bijector, x, y, event_ndims, atol=0, rtol=1e-5, sess=None): argument
/aosp_15_r20/external/pytorch/test/
H A Dtest_expanded_weights.py423 rtol=5e-5, argument
446 rtol=5e-5, argument
621 rtol=None, argument
736 self, module, input, args=None, kwargs=None, atol=None, rtol=None argument
/aosp_15_r20/external/pytorch/test/cpp/lazy/
H A Dtest_lazy_ops_util.cpp97 double rtol, in CloseValues()
132 double rtol, in TestBackward()
/aosp_15_r20/external/tensorflow/tensorflow/python/framework/
H A Dtest_util.py2924 def _assertArrayLikeAllClose(self, a, b, rtol=1e-6, atol=1e-6, msg=None): argument
2979 rtol=1e-6, argument
3050 def assertAllClose(self, a, b, rtol=1e-6, atol=1e-6, msg=None): argument
3086 rtol=1e-6, argument
3132 def assertNotAllClose(self, a, b, rtol=1e-6, atol=1e-6, msg=None): argument
3562 def _assertRaggedClose(self, a, b, rtol, atol, msg=None): argument
3572 def _assertListCloseRecursive(self, a, b, rtol, atol, msg, path="value"): argument
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/numeric/odeint/include/boost/numeric/odeint/stepper/
Drosenbrock4_controller.hpp59 rosenbrock4_controller( value_type atol = 1.0e-6 , value_type rtol = 1.0e-6 , in rosenbrock4_controller()
67 rosenbrock4_controller( value_type atol, value_type rtol, time_type max_dt, in rosenbrock4_controller()

1234