/external/tensorflow/tensorflow/python/kernel_tests/distributions/ |
D | special_math_test.py | 159 def _test_grid(self, dtype, grid_spec, error_spec): argument 161 self._test_grid_log(dtype, grid_spec, error_spec) 163 self._test_grid_no_log(dtype, grid_spec, error_spec) 165 def _test_grid_log(self, dtype, grid_spec, error_spec): argument 188 rtol=error_spec.rtol, 189 atol=error_spec.atol) 191 def _test_grid_no_log(self, dtype, grid_spec, error_spec): argument 214 rtol=error_spec.rtol, 215 atol=error_spec.atol) 288 def _test_grad_accuracy(self, dtype, grid_spec, error_spec): argument [all …]
|
/external/tensorflow/tensorflow/compiler/xla/tests/ |
D | literal_test_util.cc | 95 const ErrorSpec& error_spec, absl::optional<bool> detailed_message) { in Near() argument 97 expected, actual, error_spec, detailed_message, &OnMiscompare)); in Near()
|
D | matrix_ops_simple_test.cc | 150 ErrorSpec error_spec(1e-6); in TestImpl() local 152 error_spec = ErrorSpec(1e-6, 2e-4); in TestImpl() 154 ComputeAndCompareR2<T>(&builder, expected, {}, error_spec); in TestImpl()
|
D | exhaustive_op_test_utils.cc | 365 ErrorSpec error_spec = CallErrorSpec(error_spec_gen, inputs); in ExpectNear() local 368 static_cast<NativeRefT>(actual), error_spec)) { in ExpectNear() 404 if (IsClose(result, static_cast<NativeRefT>(actual), error_spec)) { in ExpectNear()
|
D | literal_test_util.h | 95 const ErrorSpec& error_spec,
|
D | dot_operation_test.cc | 300 ErrorSpec error_spec(0.3, 3e-3); in ComputeAndCompareR2WithError() local 301 ComputeAndCompareR2(builder, expected, arguments, error_spec); in ComputeAndCompareR2WithError() 308 ErrorSpec error_spec(0.3, 7e-3); in ComputeAndCompareR2WithError() local 309 ComputeAndCompareR2(builder, expected, arguments, error_spec); in ComputeAndCompareR2WithError()
|
D | BUILD | 112 "//tensorflow/compiler/xla:error_spec", 2599 "//tensorflow/compiler/xla:error_spec",
|
/external/tensorflow/tensorflow/compiler/xla/client/lib/ |
D | sorting_test.cc | 130 ErrorSpec error_spec(10.0f, 10.0f); in XLA_TEST_F() local 131 ComputeAndCompareR2<float>(&builder, expected_array, {}, error_spec); in XLA_TEST_F()
|
D | BUILD | 574 "//tensorflow/compiler/xla:error_spec",
|
/external/tensorflow/tensorflow/compiler/xla/tools/ |
D | run_hlo_module.cc | 184 ErrorSpec error_spec(static_cast<float>(options.abs_error_bound), in RunAndCompare() 188 /*error=*/error_spec, in RunAndCompare()
|
D | BUILD | 312 "//tensorflow/compiler/xla:error_spec",
|
/external/tensorflow/tensorflow/compiler/xla/ |
D | BUILD | 519 name = "error_spec", 520 hdrs = ["error_spec.h"], 530 ":error_spec",
|