Searched defs:ErrorSpec (Results 1 - 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/tests/
H A Dliteral_test_util.h42 struct ErrorSpec { struct in namespace:xla
43 explicit ErrorSpec(float aabs, float arel = 0, bool relaxed_nans = false) function in struct:xla::ErrorSpec
134 const ErrorSpec& error) TF_MUST_USE_RESULT;
138 const ErrorSpec& error, const string& message = "");
144 const ErrorSpec& error);
147 const Literal& actual, const ErrorSpec& error);
151 const Literal& actual, const ErrorSpec& error);
157 const Literal& actual, const ErrorSpec& error);
163 const Literal& actual, const ErrorSpec& error);
170 const ErrorSpec
[all...]
/external/tensorflow/tensorflow/python/kernel_tests/distributions/
H A Dspecial_math_test.py69 ErrorSpec = collections.namedtuple("ErrorSpec", ["rtol", "atol"]) variable
137 _error32 = ErrorSpec(rtol=1e-4, atol=0.)
138 _error64 = ErrorSpec(rtol=1e-6, atol=0.)
211 _error32 = ErrorSpec(rtol=1e-4, atol=0.)
212 _error64 = ErrorSpec(rtol=1e-4, atol=0.)
226 _error32 = ErrorSpec(rtol=0.1, atol=1e-7)
227 _error64 = ErrorSpec(rtol=0.1, atol=1e-7)
240 _error32 = ErrorSpec(rtol=1e-6, atol=1e-14)
241 _error64 = ErrorSpec(rto
[all...]

Completed in 131 milliseconds