/external/tensorflow/tensorflow/compiler/xla/ |
error_spec.h | 22 struct ErrorSpec { 23 explicit ErrorSpec(float aabs, float arel = 0, bool relaxed_nans = false)
|
reference_util_test.cc | 58 actual_literal, ErrorSpec(0.0001)); 70 actual_literal, ErrorSpec(0.0001)); 78 ErrorSpec(0.0001)); 86 ErrorSpec(0.0001)); 101 ErrorSpec(0.0001)); 111 actual_literal, ErrorSpec(0.0001)); 125 ErrorSpec(0.0001)); 142 ErrorSpec(0.0001)); 150 ErrorSpec(0.0001)); 158 ErrorSpec(0.0001)) [all...] |
literal_comparison.h | 49 // equality, ignoring the ErrorSpec. 61 const ErrorSpec& error, absl::optional<bool> detailed_message,
|
/external/tensorflow/tensorflow/compiler/xla/service/gpu/tests/ |
gpu_kernel_tiling_test.cc | 74 EXPECT_TRUE(RunAndCompareNoHloPasses(kHloString, ErrorSpec{0.0})); 127 EXPECT_TRUE(RunAndCompareNoHloPasses(kHloString, ErrorSpec{0.0})); 161 EXPECT_TRUE(RunAndCompareNoHloPasses(kHloString, ErrorSpec{0.0})); 250 EXPECT_TRUE(RunAndCompareNoHloPasses(kHloString, ErrorSpec{0.0})); 284 EXPECT_TRUE(RunAndCompareNoHloPasses(kHloString, ErrorSpec{0.0})); 317 EXPECT_TRUE(RunAndCompareNoHloPasses(kHloString, ErrorSpec{1.0e-5, 1.0e-5})); 362 EXPECT_TRUE(RunAndCompareNoHloPasses(kHloString, ErrorSpec{1.0e-5, 1.0e-5})); 412 EXPECT_TRUE(RunAndCompareNoHloPasses(kHloString, ErrorSpec{1.0e-5, 1.0e-5}));
|
/external/tensorflow/tensorflow/compiler/xla/tests/ |
literal_test_util.h | 95 const ErrorSpec& error_spec, 102 const ErrorSpec& error); 106 const LiteralSlice& actual, const ErrorSpec& error); 111 const LiteralSlice& actual, const ErrorSpec& error); 118 const LiteralSlice& actual, const ErrorSpec& error); 125 const LiteralSlice& actual, const ErrorSpec& error); 132 const ErrorSpec& error); 137 const ErrorSpec& error); 142 const ErrorSpec& error); 149 const absl::optional<ErrorSpec>& error) TF_MUST_USE_RESULT [all...] |
log_test.cc | 37 ErrorSpec(0.0001)); 54 ComputeAndCompareR1<float>(&builder, expected, {}, ErrorSpec(0.0001));
|
multidimensional_slice_test.cc | 42 ComputeAndCompareR2<float>(&builder, expected, {}, ErrorSpec(0.000001)); 53 ComputeAndCompareR3<float>(&builder, expected_3d, {}, ErrorSpec(0.000001));
|
ptxas_bug_120501638.cc | 78 EXPECT_TRUE(RunAndCompare(std::move(module), ErrorSpec{0.01, 0.01}));
|
sample_file_test.cc | 47 tensorflow::io::JoinPath(test_srcdir, filename), ErrorSpec{0.01}));
|
sample_text_test.cc | 49 EXPECT_TRUE(RunAndCompareNoHloPasses(hlo_string, ErrorSpec{0.0001}));
|
axpy_simple_test.cc | 40 ComputeAndCompareR1<float>(&builder, expected, {}, ErrorSpec(0.0001)); 52 ComputeAndCompareR1<float>(&builder, expected, {}, ErrorSpec(0.0001)); 72 ComputeAndCompareR1<float>(&builder, expected, {}, ErrorSpec(0.0001));
|
binop_scaling_test.cc | 44 ComputeAndCompareR2<float>(&builder, *aexpected, {}, ErrorSpec(0.0001)); 60 ComputeAndCompareR2<float>(&builder, *aexpected, {}, ErrorSpec(0.0001)); 76 ComputeAndCompareR2<float>(&builder, *aexpected, {}, ErrorSpec(0.0001)); 92 ComputeAndCompareR2<float>(&builder, *aexpected, {}, ErrorSpec(0.0001)); 109 ComputeAndCompareR2<float>(&builder, expected, {}, ErrorSpec(0.0001));
|
hlo_test_base.h | 205 const absl::optional<ErrorSpec>& error, 214 const absl::optional<ErrorSpec>& error, 220 std::unique_ptr<HloModule> module, const absl::optional<ErrorSpec>& error, 227 std::unique_ptr<HloModule> module, const absl::optional<ErrorSpec>& error, 236 const absl::optional<ErrorSpec>& error, 248 const string& filename, const absl::optional<ErrorSpec>& error, 253 const absl::optional<ErrorSpec>& error, 257 const string& filename, const absl::optional<ErrorSpec>& error, 318 ErrorSpec error_spec_{0.0001}; 334 const absl::optional<ErrorSpec>& error, bool run_hlo_passes [all...] |
fmax_fmin_test.cc | 40 ComputeAndCompareR1<float>(&builder, expected, {}, ErrorSpec(0.0001)); 62 ErrorSpec(0.0001)); 84 ErrorSpec(0.0001));
|
triangular_solve_test.cc | 136 ErrorSpec(1e-2, 1e-2)); 157 ErrorSpec(1e-2, 1e-2)); 178 ErrorSpec(1e-2, 1e-2)); 199 ErrorSpec(1e-2, 1e-2)); 221 ErrorSpec(1e-2, 1e-2)); 243 ErrorSpec(1e-2, 1e-2)); 262 ErrorSpec(1e-2, 1e-2)); 284 ErrorSpec(1e-2, 1e-2)); 306 ErrorSpec(1e-2, 1e-2)); 328 ErrorSpec(1e-2, 1e-2)) [all...] |
call_test.cc | 83 ComputeAndCompareR0<float>(&builder, 42.0, {}, ErrorSpec(0.01f)); 93 ComputeAndCompareR1<float>(&builder, {}, {}, ErrorSpec(0.01f)); 105 ComputeAndCompareR1<float>(&builder, {3.0f, 5.0f}, {}, ErrorSpec(0.01f)); 136 ComputeAndCompareR0<float>(&builder3, 10.0f, {start.get()}, ErrorSpec(0.0f)); 146 ComputeAndCompareTuple(&builder, tuple, {}, ErrorSpec(0.01f));
|
cholesky_test.cc | 62 ErrorSpec(1e-4, 1e-4)); 88 ErrorSpec(1e-4, 1e-4)); 111 ErrorSpec(1e-4, 1e-4)); 150 ErrorSpec(1e-4, 1e-4)); 193 ErrorSpec(1e-4, 1e-4));
|
literal_test_util_test.cc | 63 ErrorSpec error(0.001); 118 EXPECT_TRUE(LiteralTestUtil::Near(a, b, ErrorSpec{0.0001})); 126 EXPECT_TRUE(LiteralTestUtil::Near(a, b, ErrorSpec{0.0001})); 134 EXPECT_FALSE(LiteralTestUtil::Near(a, b, ErrorSpec{0.0001})); 135 EXPECT_FALSE(LiteralTestUtil::Near(b, a, ErrorSpec{0.0001}));
|
broadcast_simple_test.cc | 111 ComputeAndCompareR0<float>(&b, 1.5, {}, ErrorSpec(0.0001)); 118 ComputeAndCompareR2<float>(&b, expected, {}, ErrorSpec(0.0001)); 131 ErrorSpec(0.0001)); 138 ComputeAndCompareR2<float>(&b, expected, {}, ErrorSpec(0.0001)); 145 ComputeAndCompareR2<float>(&b, expected, {}, ErrorSpec(0.0001)); 159 ComputeAndCompareR2<float>(&b, expected, {}, ErrorSpec(0.0001)); 172 ComputeAndCompareR2<float>(&b, expected, {}, ErrorSpec(0.0001)); 185 ComputeAndCompareR2<float>(&b, expected, {}, ErrorSpec(0.0001)); 203 ComputeAndCompareR3<float>(&b, expected, {}, ErrorSpec(0.0001)); 221 ComputeAndCompareR3<float>(&b, expected, {}, ErrorSpec(0.0001)) [all...] |
concat_test.cc | 56 ComputeAndCompareR1<float>(&builder, expected, {}, ErrorSpec(0.0001)); 65 ComputeAndCompareR1<float>(&builder, expected, {}, ErrorSpec(0.0001)); 88 ComputeAndCompareR1<float>(&builder, expected, {}, ErrorSpec(0.0001)); 98 ComputeAndCompareR1<float>(&builder, expected, {}, ErrorSpec(0.0001)); 108 ComputeAndCompareR1<float>(&builder, expected, {}, ErrorSpec(0.0001)); 118 ComputeAndCompareR1<float>(&builder, expected, {}, ErrorSpec(0.0001)); 137 ComputeAndCompareR1<float>(&builder, expected, {}, ErrorSpec(0.0001)); 148 ErrorSpec(0.0001)); 164 ComputeAndCompareR2<float>(&builder, expected, {}, ErrorSpec(0.0001)); 178 ComputeAndCompareR2<float>(&builder, expected, {}, ErrorSpec(0.0001)) [all...] |
bfloat16_test.cc | 49 const ErrorSpec error_spec_{0.001, 0.001}; 68 ErrorSpec(0.01, 0.01)); 112 ComputeAndCompareTuple(&builder, expected, {}, ErrorSpec(0.01, 0.02)); 154 ComputeAndCompareTuple(&builder, expected, {}, ErrorSpec(0.01));
|
iota_test.cc | 45 ErrorSpec{0.0001}); 76 ComputeAndCompare(&builder, {}, ErrorSpec{0.0001}); 103 ComputeAndCompare(&builder, {}, ErrorSpec{0.0001}); 128 ComputeAndCompare(&builder, {}, ErrorSpec{0.0001});
|
/external/tensorflow/tensorflow/compiler/xla/client/lib/ |
self_adjoint_eig_test.cc | 154 ErrorSpec(1e-3, 1e-3)); 167 ErrorSpec(1e-3, 1e-3)); 180 ErrorSpec(1e-3, 1e-3)); 192 {a_data.get()}, ErrorSpec(1e-3, 1e-3)); 204 ErrorSpec(1e-3, 1e-3)); 220 ErrorSpec(1e-3, 1e-3)); 237 ErrorSpec(1e-3, 1e-3)); 260 ErrorSpec(1e-3, 1e-3)); 273 ErrorSpec(1e-3, 1e-3)); 286 ErrorSpec(1e-3, 1e-3)) [all...] |
svd_test.cc | 149 ErrorSpec(1e-3, 1e-3)); 161 ErrorSpec(1e-3, 1e-3)); 174 ErrorSpec(1e-2, 1e-2)); 186 ErrorSpec(1e-3, 1e-3)); 203 ErrorSpec(1e-3, 1e-3)); 215 ErrorSpec(1e-3, 1e-3)); 227 ErrorSpec(1e-3, 1e-3)); 239 ErrorSpec(1e-3, 1e-3)); 251 ErrorSpec(1e-3, 1e-3)); 263 ErrorSpec(1e-3, 1e-3)) [all...] |
qr_test.cc | 60 xla::ErrorSpec(1e-4, 1e-4)); 90 xla::ErrorSpec(1e-4, 1e-4));
|