Home
last modified time | relevance | path

Searched refs:ComputeAndCompareR2 (Results 1 – 25 of 30) sorted by relevance

12

/external/tensorflow/tensorflow/compiler/xla/client/lib/
Dslicing_test.cc68 ComputeAndCompareR2<float>(&builder, {{10}}, in XLA_TEST_F()
102 ComputeAndCompareR2<float>( in XLA_TEST_F()
117 ComputeAndCompareR2<int>(&builder, {{1, 1}, {4, 3}}, in XLA_TEST_F()
131 ComputeAndCompareR2<int>(&builder, {{1, 1}, {4, 3}}, in XLA_TEST_F()
148 ComputeAndCompareR2<int>( in XLA_TEST_F()
166 ComputeAndCompareR2<float>( in XLA_TEST_F()
186 ComputeAndCompareR2<float>( in XLA_TEST_F()
199 ComputeAndCompareR2<float>(&builder, {{}, {}, {}}, in XLA_TEST_F()
230 ComputeAndCompareR2<float>(&builder, in XLA_TEST_F()
Dquantize_test.cc222 ComputeAndCompareR2<bfloat16>(&builder, expected, {}); in XLA_TEST_F()
245 ComputeAndCompareR2<bfloat16>(&builder, expected, {}); in XLA_TEST_F()
275 ComputeAndCompareR2<bfloat16>(&builder, expected, {}); in XLA_TEST_F()
305 ComputeAndCompareR2<bfloat16>(&builder, expected, {}); in XLA_TEST_F()
319 ComputeAndCompareR2<bfloat16>(&builder, expected, {}); in XLA_TEST_F()
333 ComputeAndCompareR2<bfloat16>(&builder, expected, {}); in XLA_TEST_F()
Dqr_test.cc62 ComputeAndCompareR2<float>(&builder, a_vals, {a_data.get()}, in XLA_TEST_F()
91 ComputeAndCompareR2<float>(&builder, a_vals, {a_data.get()}, in XLA_TEST_F()
Dmatrix_test.cc86 ComputeAndCompareR2<T>(&builder, kv.second, {a_data.get()}); in TestMatrixDiagonal()
106 ComputeAndCompareR2<T>(&builder, kv.second, {a_data.get(), new_diag.get()}); in TestSetMatrixDiagonal()
Dsvd_test.cc133 ComputeAndCompareR2<float>(&builder, simple_2d_4x4_, {a_data.get()}, in XLA_TEST_F()
187 ComputeAndCompareR2<float>(&builder, singular_values, {a_data.get()}, in XLA_TEST_F()
Dsorting_test.cc131 ComputeAndCompareR2<float>(&builder, expected_array, {}, error_spec); in XLA_TEST_F()
Dconstants_test.cc80 ComputeAndCompareR2<int32>(&builder, {{0, 0}, {0, 0}}, {}); in XLA_TEST_F()
/external/tensorflow/tensorflow/compiler/xla/tests/
Dtranspose_test.cc44 ComputeAndCompareR2<float>(&builder, Array2D<float>(0, 0), {}, error_spec_); in XLA_TEST_F()
52 ComputeAndCompareR2<float>(&builder, Array2D<float>(42, 0), {}, error_spec_); in XLA_TEST_F()
60 ComputeAndCompareR2<float>(&builder, Array2D<float>(0, 7), {}, error_spec_); in XLA_TEST_F()
73 ComputeAndCompareR2<float>(&builder, expected, {}, error_spec_); in TEST_F()
129 ComputeAndCompareR2<float>(&builder, expected, {}, error_spec_); in TEST_F()
142 ComputeAndCompareR2<float>(&builder, *expected, {}, ErrorSpec(1e-4)); in TEST_F()
154 ComputeAndCompareR2<float>(&builder, *expected, {}, ErrorSpec(1e-4)); in TEST_F()
Dtriangular_solve_test.cc116 ComputeAndCompareR2<float>(&builder, Array2D<float>(0, 10), in XLA_TEST_F()
137 ComputeAndCompareR2<float>(&builder, expected, {a_data.get(), b_data.get()}, in XLA_TEST_F()
158 ComputeAndCompareR2<float>(&builder, expected, {a_data.get(), b_data.get()}, in XLA_TEST_F()
179 ComputeAndCompareR2<float>(&builder, expected, {a_data.get(), b_data.get()}, in XLA_TEST_F()
200 ComputeAndCompareR2<float>(&builder, expected, {a_data.get(), b_data.get()}, in XLA_TEST_F()
222 ComputeAndCompareR2<float>(&builder, expected, {a_data.get(), b_data.get()}, in XLA_TEST_F()
244 ComputeAndCompareR2<float>(&builder, expected, {a_data.get(), b_data.get()}, in XLA_TEST_F()
263 ComputeAndCompareR2<float>(&builder, expected, {a_data.get(), b_data.get()}, in XLA_TEST_F()
285 ComputeAndCompareR2<float>(&builder, expected, {a_data.get(), b_data.get()}, in XLA_TEST_F()
307 ComputeAndCompareR2<float>(&builder, expected, {a_data.get(), b_data.get()}, in XLA_TEST_F()
[all …]
Dbinop_scaling_test.cc44 ComputeAndCompareR2<float>(&builder, *aexpected, {}, ErrorSpec(0.0001)); in TEST_F()
60 ComputeAndCompareR2<float>(&builder, *aexpected, {}, ErrorSpec(0.0001)); in TEST_F()
76 ComputeAndCompareR2<float>(&builder, *aexpected, {}, ErrorSpec(0.0001)); in TEST_F()
92 ComputeAndCompareR2<float>(&builder, *aexpected, {}, ErrorSpec(0.0001)); in TEST_F()
109 ComputeAndCompareR2<float>(&builder, expected, {}, ErrorSpec(0.0001)); in TEST_F()
Ddot_operation_test.cc156 this->template ComputeAndCompareR2<T>(&builder, Array2D<T>(0, 0), {}, in XLA_TYPED_TEST()
168 this->template ComputeAndCompareR2<T>(&builder, Array2D<T>(0, 3), {}, in XLA_TYPED_TEST()
180 this->template ComputeAndCompareR2<T>(&builder, Array2D<T>(3, 0), {}, in XLA_TYPED_TEST()
191 this->template ComputeAndCompareR2<T>( in XLA_TYPED_TEST()
219 this->template ComputeAndCompareR2<T>( in XLA_TYPED_TEST()
248 ComputeAndCompareR2<T>(&builder, expected, in TestImpl()
301 ComputeAndCompareR2(builder, expected, arguments, error_spec); in ComputeAndCompareR2WithError()
309 ComputeAndCompareR2(builder, expected, arguments, error_spec); in ComputeAndCompareR2WithError()
316 ComputeAndCompareR2(builder, expected, arguments); in ComputeAndCompareR2WithError()
535 ComputeAndCompareR2<T>(&builder, expected, in TestImpl()
[all …]
Dselect_and_scatter_test.cc268 ComputeAndCompareR2<int32>(&builder_, expected, {}); in XLA_TEST_F()
283 ComputeAndCompareR2<float>(&builder_, expected, {}, ErrorSpec(1e-7)); in XLA_TEST_F()
297 ComputeAndCompareR2<int32>(&builder_, expected, {}); in XLA_TEST_F()
309 ComputeAndCompareR2<int32>(&builder_, expected, {}); in XLA_TEST_F()
321 ComputeAndCompareR2<int32>(&builder_, expected, {}); in XLA_TEST_F()
335 ComputeAndCompareR2<int32>(&builder_, expected, {}); in XLA_TEST_F()
348 ComputeAndCompareR2<float>(&builder_, expected, {}, ErrorSpec(1e-7)); in XLA_TEST_F()
Dconcat_test.cc150 ComputeAndCompareR2<float>(&builder, Array2D<float>(0, 0), {}, in XLA_TEST_F()
167 ComputeAndCompareR2<float>(&builder, expected, {}, ErrorSpec(0.0001)); in XLA_TEST_F()
181 ComputeAndCompareR2<float>(&builder, expected, {}, ErrorSpec(0.0001)); in XLA_TEST_F()
191 ComputeAndCompareR2<float>(&builder, *b_array, {}, ErrorSpec(0.0001)); in XLA_TEST_F()
206 ComputeAndCompareR2<float>(&builder, expected, {}, ErrorSpec(0.0001)); in XLA_TEST_F()
216 ComputeAndCompareR2<float>(&builder, *a_array, {}, ErrorSpec(0.0001)); in XLA_TEST_F()
237 ComputeAndCompareR2<float>(&builder, expected, {}, ErrorSpec(0.0001)); in XLA_TEST_F()
361 ComputeAndCompareR2<float>(&builder, expected, {}, ErrorSpec(0.0001)); in XLA_TEST_F()
382 ComputeAndCompareR2<float>(&builder, expected, {}, ErrorSpec(0.0001)); in XLA_TEST_F()
408 ComputeAndCompareR2<float>(&builder, expected, {}, ErrorSpec(0.0001)); in XLA_TEST_F()
[all …]
Dbroadcast_simple_test.cc118 ComputeAndCompareR2<float>(&b, expected, {}, ErrorSpec(0.0001)); in XLA_TEST_F()
130 ComputeAndCompareR2<float>(&b, expected, {param_data.get()}, in XLA_TEST_F()
138 ComputeAndCompareR2<float>(&b, expected, {}, ErrorSpec(0.0001)); in XLA_TEST_F()
145 ComputeAndCompareR2<float>(&b, expected, {}, ErrorSpec(0.0001)); in XLA_TEST_F()
159 ComputeAndCompareR2<float>(&b, expected, {}, ErrorSpec(0.0001));
172 ComputeAndCompareR2<float>(&b, expected, {}, ErrorSpec(0.0001));
185 ComputeAndCompareR2<float>(&b, expected, {}, ErrorSpec(0.0001));
236 ComputeAndCompareR2<float>(&b, expected, {}, ErrorSpec(0.0001));
271 ComputeAndCompareR2<float>(&b, expected, {}, ErrorSpec(0.0001)); in XLA_TEST_F()
279 ComputeAndCompareR2<float>(&b, expected, {}, ErrorSpec(0.0001));
Dslice_test.cc85 ComputeAndCompareR2<float>(&builder, Array2D<float>(0, 0), {}); in XLA_TEST_F()
93 ComputeAndCompareR2<float>(&builder, Array2D<float>(0, 5), {}); in XLA_TEST_F()
101 ComputeAndCompareR2<float>(&builder, Array2D<float>(2, 0), {}); in XLA_TEST_F()
122 ComputeAndCompareR2<float>(&builder, expected, {}, ErrorSpec(0.000001)); in XLA_TEST_F()
136 ComputeAndCompareR2<float>(&builder, expected, {}, ErrorSpec(0.000001)); in TEST_F()
154 ComputeAndCompareR2<float>(&builder, expected, {}, ErrorSpec(0.000001)); in TEST_F()
416 ComputeAndCompareR2<int32>(&builder, *expected, {arg.get()}); in XLA_TEST_P()
Dvector_ops_reduce_test.cc141 ComputeAndCompareR2<float>(&builder_, expected_array, {}, errspec_); in TEST_F()
153 ComputeAndCompareR2<float>(&builder_, expected_array, {}, errspec_); in TEST_F()
164 ComputeAndCompareR2<float>(&builder_, expected_array, {}, errspec_); in TEST_F()
Dcholesky_test.cc60 ComputeAndCompareR2<float>(&builder, expected, {a_data.get()}, in XLA_TEST_F()
124 ComputeAndCompareR2<float>(&builder, expected, {a_data.get()}, in XLA_TEST_F()
150 ComputeAndCompareR2<float>(&builder, expected, {a_data.get()}, in XLA_TEST_F()
173 ComputeAndCompareR2<float>(&builder, expected, {a_data.get()}, in XLA_TEST_F()
Darray_elementwise_ops_test.cc813 ComputeAndCompareR2<bool>(&builder, expected_array, {}); in XLA_TEST_F()
841 ComputeAndCompareR2<int32>(&builder, expected_array, {}); in XLA_TEST_F()
869 ComputeAndCompareR2<uint32>(&builder, expected_array, {}); in XLA_TEST_F()
897 ComputeAndCompareR2<bool>(&builder, expected_array, {}); in XLA_TEST_F()
925 ComputeAndCompareR2<int32>(&builder, expected_array, {}); in XLA_TEST_F()
953 ComputeAndCompareR2<uint32>(&builder, expected_array, {}); in XLA_TEST_F()
981 ComputeAndCompareR2<bool>(&builder, expected_array, {}); in XLA_TEST_F()
1009 ComputeAndCompareR2<int32>(&builder, expected_array, {}); in XLA_TEST_F()
1037 ComputeAndCompareR2<uint32>(&builder, expected_array, {}); in XLA_TEST_F()
1062 ComputeAndCompareR2<bool>(&builder, expected_array, {}); in XLA_TEST_F()
[all …]
Dpad_test.cc337 ComputeAndCompareR2<float>(&b, *expected, {}, DefaultErrorSpec()); in XLA_TEST_P()
359 ComputeAndCompareR2<float>(&b, *expected, {}, DefaultErrorSpec()); in XLA_TEST_P()
386 ComputeAndCompareR2<float>(&b, *expected, {}, DefaultErrorSpec()); in XLA_TEST_P()
414 ComputeAndCompareR2<float>(&b, *expected, {}, DefaultErrorSpec()); in XLA_TEST_P()
442 ComputeAndCompareR2<float>(&b, *expected, {}, DefaultErrorSpec()); in XLA_TEST_P()
Dmultidimensional_slice_test.cc42 ComputeAndCompareR2<float>(&builder, expected, {}, ErrorSpec(0.000001)); in XLA_TEST_F()
Dconstants_test.cc101 ComputeAndCompareR2<float>(&builder, Array2D<float>(0, 2), {}, error_spec_); in TEST_F()
111 ComputeAndCompareR2<float>(&builder, *constant, {}, error_spec_); in TEST_F()
Dmatrix_ops_simple_test.cc154 ComputeAndCompareR2<T>(&builder, expected, {}, error_spec); in TestImpl()
235 ComputeAndCompareR2<T>(&builder, expected, in TestImpl()
Dtuple_test.cc130 ComputeAndCompareR2<float>(&builder, Array2D<float>(constant_matrix), {}, in XLA_TEST_F()
142 ComputeAndCompareR2<float>(&builder, Array2D<float>(0, 101), {}, error_spec_); in XLA_TEST_F()
182 ComputeAndCompareR2<float>(&builder, expected, {}, error_spec_); in XLA_TEST_F()
275 ComputeAndCompareR2<float>(&builder, expected, {}, error_spec_); in XLA_TEST_F()
Dparams_test.cc102 ComputeAndCompareR2<float>(&builder, Array2D<float>(3, 0), in XLA_TEST_F()
117 ComputeAndCompareR2<float>(&builder, expected_array, {param0_data.get()}, in XLA_TEST_F()
509 ComputeAndCompareR2(&builder, expected, {data.get()}, ErrorSpec(1e-3)); in XLA_TEST_F()
Dclient_library_test_base.h153 void ComputeAndCompareR2(XlaBuilder* builder,
157 void ComputeAndCompareR2(XlaBuilder* builder,
499 void ClientLibraryTestBase::ComputeAndCompareR2( in ComputeAndCompareR2() function
509 void ClientLibraryTestBase::ComputeAndCompareR2( in ComputeAndCompareR2() function

12