Home
last modified time | relevance | path

Searched refs:error_spec (Results 1 – 12 of 12) sorted by relevance

/external/tensorflow/tensorflow/python/kernel_tests/distributions/
Dspecial_math_test.py159 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/
Dliteral_test_util.cc95 const ErrorSpec& error_spec, absl::optional<bool> detailed_message) { in Near() argument
97 expected, actual, error_spec, detailed_message, &OnMiscompare)); in Near()
Dmatrix_ops_simple_test.cc150 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()
Dexhaustive_op_test_utils.cc365 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()
Dliteral_test_util.h95 const ErrorSpec& error_spec,
Ddot_operation_test.cc300 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()
DBUILD112 "//tensorflow/compiler/xla:error_spec",
2599 "//tensorflow/compiler/xla:error_spec",
/external/tensorflow/tensorflow/compiler/xla/client/lib/
Dsorting_test.cc130 ErrorSpec error_spec(10.0f, 10.0f); in XLA_TEST_F() local
131 ComputeAndCompareR2<float>(&builder, expected_array, {}, error_spec); in XLA_TEST_F()
DBUILD574 "//tensorflow/compiler/xla:error_spec",
/external/tensorflow/tensorflow/compiler/xla/tools/
Drun_hlo_module.cc184 ErrorSpec error_spec(static_cast<float>(options.abs_error_bound), in RunAndCompare()
188 /*error=*/error_spec, in RunAndCompare()
DBUILD312 "//tensorflow/compiler/xla:error_spec",
/external/tensorflow/tensorflow/compiler/xla/
DBUILD519 name = "error_spec",
520 hdrs = ["error_spec.h"],
530 ":error_spec",