/external/tensorflow/tensorflow/compiler/xla/tests/ |
matrix_ops_simple_test.cc | 70 this->ComputeAndCompareLiteral(&builder, expected, {}, ErrorSpec(1e-5)); 98 this->ComputeAndCompareLiteral(&builder, expected, {}, ErrorSpec(1e-5)); 117 this->ComputeAndCompareLiteral(&builder, expected, {}, ErrorSpec(1e-6)); 150 ErrorSpec error_spec(1e-6); 152 error_spec = ErrorSpec(1e-6, 2e-4); 237 ErrorSpec(1e-6));
|
params_test.cc | 52 ErrorSpec(0.0001f)); 64 ErrorSpec(0.01f)); 76 ErrorSpec(0.01f)); 103 {param0_data.get()}, ErrorSpec(0.01f)); 118 ErrorSpec(0.01f)); 149 ErrorSpec(0.0001f)); 181 ErrorSpec(0.0001f)); 209 ErrorSpec(0.0001f)); 246 ComputeAndCompareR1<float>(&builder, sum, param_data, ErrorSpec(0.0001f)); 281 ComputeAndCompareR0<float>(&builder, target, param_data, ErrorSpec(0.0001f)) [all...] |
slice_test.cc | 51 ComputeAndCompareR3<float>(&builder, expected, {}, ErrorSpec(0.000001)); 64 ComputeAndCompareR3<float>(&builder, expected, {}, ErrorSpec(0.000001)); 77 ComputeAndCompareR3<float>(&builder, expected, {}, ErrorSpec(0.000001)); 122 ComputeAndCompareR2<float>(&builder, expected, {}, ErrorSpec(0.000001)); 136 ComputeAndCompareR2<float>(&builder, expected, {}, ErrorSpec(0.000001)); 154 ComputeAndCompareR2<float>(&builder, expected, {}, ErrorSpec(0.000001)); 166 ComputeAndCompareR4(&builder, *expected, {}, ErrorSpec(0.000001)); 199 ComputeAndCompareLiteral(&builder, expected_literal, {}, ErrorSpec(0.000001), 494 ComputeAndCompareR4(&builder, *expected, {arg.get()}, ErrorSpec(0.000001));
|
transpose_test.cc | 33 ErrorSpec error_spec_{0.0001}; 142 ComputeAndCompareR2<float>(&builder, *expected, {}, ErrorSpec(1e-4)); 154 ComputeAndCompareR2<float>(&builder, *expected, {}, ErrorSpec(1e-4));
|
reduce_test.cc | 116 ErrorSpec(0.001)); 225 ErrorSpec(0.01, 1e-4)); 254 ErrorSpec(0.01, 1e-4)); 264 ErrorSpec(0.01, 1e-4)); 464 ErrorSpec(0.01, 1e-4)); 495 ErrorSpec(0.01, 1e-4)); 511 ComputeAndCompare(&builder, {std::move(input_data)}, ErrorSpec(0.01, 1e-4)); 543 ErrorSpec(0.01, 1e-4)); 569 ComputeAndCompareR0<float>(&builder, expected, {}, ErrorSpec(0.0001)); 581 ComputeAndCompareR0<float>(&builder, expected, {}, ErrorSpec(0.0001)) [all...] |
literal_test_util.cc | 89 const ErrorSpec& error_spec, absl::optional<bool> detailed_message) { 96 const absl::optional<ErrorSpec>& error) {
|
select_and_scatter_test.cc | 87 ComputeAndCompare(&builder_, {}, ErrorSpec(1e-5)); 211 ComputeAndCompareR1<float>(&builder_, {}, {}, ErrorSpec(1e-7)); 223 ComputeAndCompareR1<float>(&builder_, expected, {}, ErrorSpec(1e-7)); 272 ComputeAndCompareR2<float>(&builder_, expected, {}, ErrorSpec(1e-7)); 337 ComputeAndCompareR2<float>(&builder_, expected, {}, ErrorSpec(1e-7)); 362 ComputeAndCompareR4<float>(&builder_, e, {}, ErrorSpec(1e-7)); 387 ComputeAndCompareR4<float>(&builder_, e, {}, ErrorSpec(1e-7)); 412 ComputeAndCompareR4<float>(&builder_, e, {}, ErrorSpec(1e-7)); 435 ComputeAndCompareR4<float>(&builder_, *e, {}, ErrorSpec(1e-7)); 445 ComputeAndCompareR1<float>(&builder_, expected, {}, ErrorSpec(1e-7)) [all...] |
reduce_hlo_test.cc | 111 EXPECT_TRUE(RunAndCompareNoHloPasses(std::move(module), ErrorSpec(1e-5)));
|
unary_op_test.cc | 107 ComputeAndCompareLiteral(&builder, expected, {}, ErrorSpec(1e-6f)); 120 ComputeAndCompareLiteral(&builder, expected, {}, ErrorSpec(1e-6f)); 133 ComputeAndCompareLiteral(&builder, expected, {}, ErrorSpec(1e-6f)); 177 ComputeAndCompareLiteral(&builder, expected, {}, ErrorSpec(1e-6f));
|
hlo_test_base.cc | 255 const optional<ErrorSpec>& error, bool run_hlo_passes, 275 const optional<ErrorSpec>& error, 289 const optional<ErrorSpec>& error, 301 std::unique_ptr<HloModule> module, const optional<ErrorSpec>& error, 315 std::unique_ptr<HloModule> module, const optional<ErrorSpec>& error, 329 string_view hlo_string, const absl::optional<ErrorSpec>& error, 458 const string& filename, const absl::optional<ErrorSpec>& error, 471 string_view hlo_string, const absl::optional<ErrorSpec>& error, 485 const string& filename, const absl::optional<ErrorSpec>& error,
|
client_library_test_base.h | 124 // provided: one for floating point types with an ErrorSpec parameter, and one 125 // for integral types without the ErrorSpec parameter. 132 ErrorSpec error); 142 ErrorSpec error); 158 ErrorSpec error); 168 ErrorSpec error); 178 ErrorSpec error); 188 ErrorSpec error, 205 absl::Span<GlobalData* const> arguments, ErrorSpec error, 219 ErrorSpec error) [all...] |
map_test.cc | 180 ErrorSpec(0.01f)); 194 ErrorSpec(0.01f)); 209 {param0_data.get()}, ErrorSpec(0.01f)); 251 {param0_data.get()}, ErrorSpec(0.01f)); 267 ErrorSpec(0.01f)); 284 {param0_data.get()}, ErrorSpec(0.01f)); 301 ErrorSpec(0.01f)); 339 ComputeAndCompareR0<float>(&builder, 73.0, {}, ErrorSpec(0.01f)); 361 ErrorSpec(0.01f)); 437 ErrorSpec(0.01f)) [all...] |
floor_ceil_test.cc | 67 const ErrorSpec error_spec_{0.0001};
|
local_client_allocation_test.cc | 36 ErrorSpec error_spec_{0.0001};
|
while_test.cc | 231 ComputeAndCompareR1<float>(&builder, {}, {}, ErrorSpec(0.0001)); 289 ComputeAndCompareR1<float>(&builder, expected, {}, ErrorSpec(0.0001)); 353 ComputeAndCompareTuple(&builder, expected, {}, ErrorSpec(0.0001)); 407 ComputeAndCompareTuple(&builder, expected, {}, ErrorSpec(0.0001)); 458 ComputeAndCompareR1<float>(&builder, expected, {}, ErrorSpec(0.0001)); 514 ComputeAndCompareTuple(&builder, expected, {}, ErrorSpec(0.0001)); 560 ComputeAndCompareTuple(&builder, expected, {}, ErrorSpec(0)); 605 ComputeAndCompareTuple(&builder, expected, {}, ErrorSpec(0.0001)); 697 ComputeAndCompareR1<float>(&builder, expected, {}, ErrorSpec(0.0001)); 763 ComputeAndCompareR1<float>(&builder, expected, {}, ErrorSpec(0.0001)) [all...] |
pad_test.cc | 77 ErrorSpec DefaultErrorSpec() const { 79 return ErrorSpec(1e-3, 1e-3); 81 return ErrorSpec(1e-5, 1e-5); 182 ComputeAndCompareR4<float>(&b, *expected, {}, ErrorSpec(0.0001)); 224 ComputeAndCompareR4<float>(&b, expected_array, {}, ErrorSpec(0.0001)); 267 ComputeAndCompareR4<float>(&b, expected_array, {}, ErrorSpec(0.0001));
|
batch_normalization_test.cc | 89 const ErrorSpec error_spec_{0.001, 0.001}; 251 ComputeAndCompareTuple(&builder, expected, {}, ErrorSpec(0.1)); 275 ComputeAndCompareTuple(&builder, expected, {}, ErrorSpec(0.1)); 306 ErrorSpec(0.1)); 339 ErrorSpec(0.1)); 368 ComputeAndCompareTuple(&builder, expected, {}, ErrorSpec(0.1)); 547 ErrorSpec(0.01, 1)); 655 ErrorSpec(0.01, 1)); [all...] |
convolution_dimension_numbers_test.cc | 128 ErrorSpec(0.001, 0.01));
|
dot_operation_test.cc | 41 ErrorSpec error_spec_{0.0001, 1e-5}; 209 this->error_spec_ = ErrorSpec{0.0001, 1e-3}; 355 ErrorSpec error_spec(0.3, 3e-3); 357 error_spec = ErrorSpec(0.3, 5e-3); 593 this->error_spec_ = ErrorSpec{0.0001, 1e-3}; [all...] |
reduce_window_test.cc | 58 ErrorSpec DefaultErrorSpec() const { 60 return ErrorSpec(2e-1, 6e-2); 62 return ErrorSpec(1e-3, 1e-3); 134 ErrorSpec(0.00001)); 142 {}, ErrorSpec(0.00001)); 152 {}, ErrorSpec(0.00001)); [all...] |
/external/tensorflow/tensorflow/python/kernel_tests/distributions/ |
special_math_test.py | 82 ErrorSpec = collections.namedtuple("ErrorSpec", ["rtol", "atol"]) 156 _error32 = ErrorSpec(rtol=1e-4, atol=0.) 157 _error64 = ErrorSpec(rtol=1e-6, atol=0.) 230 _error32 = ErrorSpec(rtol=1e-4, atol=0.) 231 _error64 = ErrorSpec(rtol=1e-4, atol=0.) 245 _error32 = ErrorSpec(rtol=0.1, atol=1e-7) 246 _error64 = ErrorSpec(rtol=0.1, atol=1e-7) 259 _error32 = ErrorSpec(rtol=1e-6, atol=1e-14) 260 _error64 = ErrorSpec(rtol=1e-6, atol=1e-14 [all...] |
/external/tensorflow/tensorflow/compiler/xla/service/ |
elemental_ir_emitter_test.cc | 94 EXPECT_TRUE(RunAndCompare(std::move(module), ErrorSpec{4e-3, 4e-3}));
|
/external/tensorflow/tensorflow/compiler/xla/rpc/ |
grpc_client_test.cc | 103 ErrorSpec(0.0001)));
|
/external/tensorflow/tensorflow/compiler/xla/service/gpu/ |
cudnn_fused_conv_rewriter_test.cc | 51 EXPECT_TRUE(RunAndCompare(hlo_with_new_type, ErrorSpec{0.01}))
|
/external/tensorflow/tensorflow/compiler/xla/client/lib/ |
slicing_test.cc | 68 xla::ErrorSpec(1e-2, 1e-2));
|