/aosp_15_r20/external/tensorflow/tensorflow/compiler/tests/ |
H A D | special_math_test.py | 83 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 D | unary_ops_test.py | 52 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 D | matrix_diag_ops_test.py | 337 rtol=1e-3, argument 539 rtol=1e-3, argument 685 rtol=1e-3, argument
|
H A D | binary_ops_test.py | 44 rtol=None, argument 64 def ListsAreClose(self, result, expected, rtol, atol): argument 495 def NextAfterEqualityTest(result, expected, rtol, atol): argument
|
H A D | ternary_ops_test.py | 32 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 D | tensor_util.h | 243 #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 D | tensor_util.cpp | 42 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 D | op_allclose.cpp | 34 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 D | tensor_testutil.cc | 134 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 D | bundled_program.cpp | 94 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 D | test_decompose_mem_bound_mm.py | 56 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 D | test_group_batch_fusion.py | 294 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 D | gradcheck.py | 1446 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 D | fft_ops_test.py | 43 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 D | linalg.h | 249 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 D | vulkan_quantized_api_test.cpp | 716 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 D | math_kernel_test.cpp | 9 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 D | UnaryUfuncRealHBBF16ToFloatHBF16Test.h | 73 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 D | test_util.py | 38 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 D | op_allclose_test.cpp | 264 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 D | bijector_test_util.py | 48 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 D | test_expanded_weights.py | 423 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 D | test_lazy_ops_util.cpp | 97 double rtol, in CloseValues() 132 double rtol, in TestBackward()
|
/aosp_15_r20/external/tensorflow/tensorflow/python/framework/ |
H A D | test_util.py | 2924 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/ |
D | rosenbrock4_controller.hpp | 59 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()
|