Home
last modified time | relevance | path

Searched refs:ExpectTensorEqual (Results 1 – 25 of 100) sorted by relevance

1234

/external/tensorflow/tensorflow/core/kernels/image/
Dnon_max_suppression_op_test.cc57 test::ExpectTensorEqual<int>(expected, *GetOutput(0)); in TEST_F()
71 test::ExpectTensorEqual<int>(expected, *GetOutput(0)); in TEST_F()
86 test::ExpectTensorEqual<int>(expected, *GetOutput(0)); in TEST_F()
103 test::ExpectTensorEqual<int>(expected, *GetOutput(0)); in TEST_F()
116 test::ExpectTensorEqual<int>(expected, *GetOutput(0)); in TEST_F()
131 test::ExpectTensorEqual<int>(expected, *GetOutput(0)); in TEST_F()
143 test::ExpectTensorEqual<int>(expected, *GetOutput(0)); in TEST_F()
166 test::ExpectTensorEqual<int>(expected, *GetOutput(0)); in TEST_F()
206 test::ExpectTensorEqual<int>(expected, *GetOutput(0)); in TEST_F()
239 test::ExpectTensorEqual<int>(expected, *GetOutput(0)); in TEST_F()
[all …]
Dresize_nearest_neighbor_op_test.cc113 test::ExpectTensorEqual<float>(expected, *GetOutput(0)); in TEST_P()
131 test::ExpectTensorEqual<float>(expected, *GetOutput(0)); in TEST_P()
151 test::ExpectTensorEqual<float>(expected, *GetOutput(0)); in TEST_P()
172 test::ExpectTensorEqual<float>(expected, *GetOutput(0)); in TEST_P()
193 test::ExpectTensorEqual<float>(expected, *GetOutput(0)); in TEST_P()
215 test::ExpectTensorEqual<float>(expected, *GetOutput(0)); in TEST_P()
234 test::ExpectTensorEqual<float>(expected, *GetOutput(0)); in TEST_P()
258 test::ExpectTensorEqual<float>(expected, *GetOutput(0)); in TEST_P()
283 test::ExpectTensorEqual<float>(expected, *GetOutput(0)); in TEST_P()
305 test::ExpectTensorEqual<float>(expected, *GetOutput(0)); in TEST_P()
[all …]
Dnon_max_suppression_op_gpu_test.cc73 test::ExpectTensorEqual<int>(expected, *GetOutput(0)); in TEST_F()
94 test::ExpectTensorEqual<int>(expected, *GetOutput(0)); in TEST_F()
111 test::ExpectTensorEqual<int>(expected, *GetOutput(0)); in TEST_F()
128 test::ExpectTensorEqual<int>(expected, *GetOutput(0)); in TEST_F()
141 test::ExpectTensorEqual<int>(expected, *GetOutput(0)); in TEST_F()
165 test::ExpectTensorEqual<int>(expected, *GetOutput(0)); in TEST_F()
209 test::ExpectTensorEqual<int>(expected, *GetOutput(0)); in TEST_F()
249 test::ExpectTensorEqual<int>(expected, *GetOutput(0)); in TEST_F()
267 test::ExpectTensorEqual<int>(expected, *GetOutput(0)); in TEST_F()
288 test::ExpectTensorEqual<int>(expected, *GetOutput(0)); in TEST_F()
[all …]
Dcrop_and_resize_op_test.cc61 test::ExpectTensorEqual<float>(expected, *GetOutput(0)); \
74 test::ExpectTensorEqual<float>(expected, *GetOutput(0)); \
101 test::ExpectTensorEqual<float>(expected, *GetOutput(0)); in REGISTER_TEST()
117 test::ExpectTensorEqual<float>(expected, *GetOutput(0)); in TEST_F()
133 test::ExpectTensorEqual<float>(expected, *GetOutput(0)); in TEST_F()
149 test::ExpectTensorEqual<float>(expected, *GetOutput(0)); in TEST_F()
170 test::ExpectTensorEqual<float>(expected, *GetOutput(0)); in TEST_F()
191 test::ExpectTensorEqual<float>(expected, *GetOutput(0)); in TEST_F()
212 test::ExpectTensorEqual<float>(expected, *GetOutput(0)); in TEST_F()
233 test::ExpectTensorEqual<float>(expected, *GetOutput(0)); in TEST_F()
[all …]
Dmirror_pad_op_test.cc59 test::ExpectTensorEqual<T>(expected, *GetOutput(0)); \
74 test::ExpectTensorEqual<T>(expected, *GetOutput(0)); \
119 test::ExpectTensorEqual<float>(expected, *GetOutput(0)); in REGISTER_TEST()
153 test::ExpectTensorEqual<float>(expected, *GetOutput(0)); in TEST_F()
179 test::ExpectTensorEqual<T>(expected, *GetOutput(0)); \
191 test::ExpectTensorEqual<T>(expected, *GetOutput(0)); \
/external/tensorflow/tensorflow/core/kernels/
Dragged_range_op_test.cc58 test::ExpectTensorEqual<int64>(*GetOutput(kSplitsOutput), in TEST_F()
60 test::ExpectTensorEqual<int>( in TEST_F()
73 test::ExpectTensorEqual<int64>(*GetOutput(kSplitsOutput), in TEST_F()
88 test::ExpectTensorEqual<int64>(*GetOutput(kSplitsOutput), in TEST_F()
90 test::ExpectTensorEqual<int>( in TEST_F()
103 test::ExpectTensorEqual<int64>(*GetOutput(kSplitsOutput), in TEST_F()
105 test::ExpectTensorEqual<int>(*GetOutput(kValuesOutput), in TEST_F()
117 test::ExpectTensorEqual<int64>(*GetOutput(kSplitsOutput), in TEST_F()
119 test::ExpectTensorEqual<int>( in TEST_F()
132 test::ExpectTensorEqual<int64>(*GetOutput(kSplitsOutput), in TEST_F()
[all …]
Dragged_tensor_to_sparse_kernel_test.cc66 test::ExpectTensorEqual<int64>( in TEST_F()
69 test::ExpectTensorEqual<int>(*GetOutput(kSparseValuesOutput), in TEST_F()
71 test::ExpectTensorEqual<int64>(*GetOutput(kSparseDenseShapeOutput), in TEST_F()
82 test::ExpectTensorEqual<int64>( in TEST_F()
85 test::ExpectTensorEqual<int>(*GetOutput(kSparseValuesOutput), in TEST_F()
87 test::ExpectTensorEqual<int64>(*GetOutput(kSparseDenseShapeOutput), in TEST_F()
102 test::ExpectTensorEqual<int64>( in TEST_F()
105 test::ExpectTensorEqual<int>(*GetOutput(kSparseValuesOutput), in TEST_F()
107 test::ExpectTensorEqual<int64>(*GetOutput(kSparseDenseShapeOutput), in TEST_F()
129 test::ExpectTensorEqual<int>(*GetOutput(kSparseValuesOutput), in TEST_F()
[all …]
Ddynamic_partition_op_test.cc66 test::ExpectTensorEqual<float>(expected, *GetOutput(0)); in TEST_F()
71 test::ExpectTensorEqual<float>(expected, *GetOutput(1)); in TEST_F()
76 test::ExpectTensorEqual<float>(expected, *GetOutput(2)); in TEST_F()
81 test::ExpectTensorEqual<float>(expected, *GetOutput(3)); in TEST_F()
99 test::ExpectTensorEqual<float>(expected, *GetOutput(0)); in TEST_F()
104 test::ExpectTensorEqual<float>(expected, *GetOutput(1)); in TEST_F()
109 test::ExpectTensorEqual<float>(expected, *GetOutput(2)); in TEST_F()
114 test::ExpectTensorEqual<float>(expected, *GetOutput(3)); in TEST_F()
134 test::ExpectTensorEqual<float>(expected, *GetOutput(0)); in TEST_F()
137 test::ExpectTensorEqual<float>(expected_empty, *GetOutput(1)); in TEST_F()
[all …]
Dparse_tensor_test.cc87 test::ExpectTensorEqual<Eigen::half>(parse_output, GetInput(0)); in TEST_F()
96 test::ExpectTensorEqual<float>(parse_output, GetInput(0)); in TEST_F()
105 test::ExpectTensorEqual<double>(parse_output, GetInput(0)); in TEST_F()
114 test::ExpectTensorEqual<int64>(parse_output, GetInput(0)); in TEST_F()
123 test::ExpectTensorEqual<int32>(parse_output, GetInput(0)); in TEST_F()
132 test::ExpectTensorEqual<int16>(parse_output, GetInput(0)); in TEST_F()
141 test::ExpectTensorEqual<int8>(parse_output, GetInput(0)); in TEST_F()
150 test::ExpectTensorEqual<uint16>(parse_output, GetInput(0)); in TEST_F()
159 test::ExpectTensorEqual<uint8>(parse_output, GetInput(0)); in TEST_F()
169 test::ExpectTensorEqual<complex64>(parse_output, GetInput(0)); in TEST_F()
[all …]
Dragged_tensor_from_variant_op_test.cc100 test::ExpectTensorEqual<int64>(*GetOutput(0), expected_splits_1); in TEST_F()
101 test::ExpectTensorEqual<int64>(*GetOutput(1), expected_splits_2); in TEST_F()
102 test::ExpectTensorEqual<int>(*GetOutput(2), expected_values); in TEST_F()
130 test::ExpectTensorEqual<int64>(*GetOutput(0), expected_splits_1); in TEST_F()
131 test::ExpectTensorEqual<int64>(*GetOutput(1), expected_splits_2); in TEST_F()
132 test::ExpectTensorEqual<int64>(*GetOutput(2), expected_splits_3); in TEST_F()
133 test::ExpectTensorEqual<int>(*GetOutput(3), expected_values); in TEST_F()
180 test::ExpectTensorEqual<int64>(*GetOutput(0), expected_splits_1); in TEST_F()
181 test::ExpectTensorEqual<int64>(*GetOutput(1), expected_splits_2); in TEST_F()
182 test::ExpectTensorEqual<int>(*GetOutput(2), expected_values); in TEST_F()
[all …]
Das_string_op_test.cc55 test::ExpectTensorEqual<tstring>(expected, *GetOutput(0)); in TEST_F()
65 test::ExpectTensorEqual<tstring>(expected, *GetOutput(0)); in TEST_F()
76 test::ExpectTensorEqual<tstring>(expected, *GetOutput(0)); in TEST_F()
88 test::ExpectTensorEqual<tstring>(expected, *GetOutput(0)); in TEST_F()
99 test::ExpectTensorEqual<tstring>(expected, *GetOutput(0)); in TEST_F()
109 test::ExpectTensorEqual<tstring>(expected, *GetOutput(0)); in TEST_F()
120 test::ExpectTensorEqual<tstring>(expected, *GetOutput(0)); in TEST_F()
130 test::ExpectTensorEqual<tstring>(expected, *GetOutput(0)); in TEST_F()
141 test::ExpectTensorEqual<tstring>(expected, *GetOutput(0)); in TEST_F()
151 test::ExpectTensorEqual<tstring>(expected, *GetOutput(0)); in TEST_F()
[all …]
Droll_op_test.cc65 test::ExpectTensorEqual<float>(expected, *GetOutput(0)); in TEST_F()
80 test::ExpectTensorEqual<tstring>(expected, *GetOutput(0)); in TEST_F()
101 test::ExpectTensorEqual<std::complex<float>>(expected, *GetOutput(0)); in TEST_F()
118 test::ExpectTensorEqual<float>(expected, *GetOutput(0)); in TEST_F()
136 test::ExpectTensorEqual<tstring>(expected, *GetOutput(0)); in TEST_F()
152 test::ExpectTensorEqual<float>(expected, *GetOutput(0)); in TEST_F()
170 test::ExpectTensorEqual<tstring>(expected, *GetOutput(0)); in TEST_F()
187 test::ExpectTensorEqual<float>(expected, *GetOutput(0)); in TEST_F()
205 test::ExpectTensorEqual<tstring>(expected, *GetOutput(0)); in TEST_F()
221 test::ExpectTensorEqual<float>(expected, *GetOutput(0)); in TEST_F()
[all …]
Didentity_n_op_test.cc48 test::ExpectTensorEqual<int32>(expected0, *GetOutput(0)); in TEST_F()
51 test::ExpectTensorEqual<double>(expected1, *GetOutput(1)); in TEST_F()
61 test::ExpectTensorEqual<int32>(expected, *GetOutput(0)); in TEST_F()
63 test::ExpectTensorEqual<int32>(expected, *GetOutput(1)); in TEST_F()
73 test::ExpectTensorEqual<tstring>(expected0, *GetOutput(0)); in TEST_F()
76 test::ExpectTensorEqual<int32>(expected1, *GetOutput(1)); in TEST_F()
Dquantize_op_test.cc57 test::ExpectTensorEqual<quint8>(expected, *GetOutput(0)); in TEST_F()
132 test::ExpectTensorEqual<quint8>(expected, *GetOutput(0)); in TEST_P()
154 test::ExpectTensorEqual<quint8>(expected, *GetOutput(0)); in TEST_F()
158 test::ExpectTensorEqual<float>(expected_output_min, *GetOutput(1)); in TEST_F()
162 test::ExpectTensorEqual<float>(expected_output_max, *GetOutput(2)); in TEST_F()
212 test::ExpectTensorEqual<qint8>(expected, *GetOutput(0)); in TEST_P()
262 test::ExpectTensorEqual<qint8>(expected, *GetOutput(0)); in TEST_P()
286 test::ExpectTensorEqual<qint8>(expected, *GetOutput(0)); in TEST_F()
290 test::ExpectTensorEqual<float>(expected_output_min, *GetOutput(1)); in TEST_F()
294 test::ExpectTensorEqual<float>(expected_output_max, *GetOutput(2)); in TEST_F()
[all …]
Dsparse_add_op_test.cc84 test::ExpectTensorEqual<int64>(expected_indices, *GetOutput(0)); in TEST_F()
88 test::ExpectTensorEqual<float>(expected_values, *GetOutput(1)); in TEST_F()
93 test::ExpectTensorEqual<int64>(expected_shape, *GetOutput(2)); in TEST_F()
133 test::ExpectTensorEqual<int64>(expected_indices, *GetOutput(0)); \
137 test::ExpectTensorEqual<VALTYPE>(expected_values, *GetOutput(1)); \
142 test::ExpectTensorEqual<int64>(expected_shape, *GetOutput(2)); \
190 test::ExpectTensorEqual<int64>(expected_indices, *GetOutput(0)); \
193 test::ExpectTensorEqual<VALTYPE>(expected_values, *GetOutput(1)); \
198 test::ExpectTensorEqual<int64>(expected_shape, *GetOutput(2)); \
Dragged_gather_op_test.cc79 test::ExpectTensorEqual<int64>(*GetOutput(0), in TEST_F()
101 test::ExpectTensorEqual<int64>(*GetOutput(0), in TEST_F()
103 test::ExpectTensorEqual<int64>(*GetOutput(1), in TEST_F()
128 test::ExpectTensorEqual<int64>(*GetOutput(0), in TEST_F()
130 test::ExpectTensorEqual<int64>(*GetOutput(1), in TEST_F()
132 test::ExpectTensorEqual<int32>( in TEST_F()
152 test::ExpectTensorEqual<int64>(*GetOutput(0), in TEST_F()
154 test::ExpectTensorEqual<int64>(*GetOutput(1), in TEST_F()
Dsequence_ops_test.cc68 test::ExpectTensorEqual<int32>(expected, *GetOutput(0)); in TEST_F()
83 test::ExpectTensorEqual<float>(expected, *GetOutput(0)); in TEST_F()
100 test::ExpectTensorEqual<double>(expected, *GetOutput(0)); in TEST_F()
115 test::ExpectTensorEqual<float>(expected, *GetOutput(0)); in TEST_F()
151 test::ExpectTensorEqual<float>(expected, *GetOutput(0)); in TEST_F()
166 test::ExpectTensorEqual<double>(expected, *GetOutput(0)); in TEST_F()
Dgather_op_test.cc66 test::ExpectTensorEqual<float>(expected, *GetOutput(0)); in TEST_F()
85 test::ExpectTensorEqual<std::complex<float>>(expected, *GetOutput(0)); in TEST_F()
101 test::ExpectTensorEqual<float>(expected, *GetOutput(0)); in TEST_F()
118 test::ExpectTensorEqual<float>(expected, *GetOutput(0)); in TEST_F()
132 test::ExpectTensorEqual<float>(expected, *GetOutput(0)); in TEST_F()
148 test::ExpectTensorEqual<float>(expected, *GetOutput(0)); in TEST_F()
163 test::ExpectTensorEqual<float>(expected, *GetOutput(0)); in TEST_F()
Dsparse_to_dense_op_test.cc70 test::ExpectTensorEqual<float>(expected, *GetOutput(0)); in TEST_F()
89 test::ExpectTensorEqual<double>(expected, *GetOutput(0)); in TEST_F()
108 test::ExpectTensorEqual<float>(expected, *GetOutput(0)); in TEST_F()
130 test::ExpectTensorEqual<float>(expected, *GetOutput(0)); in TEST_F()
152 test::ExpectTensorEqual<float>(expected, *GetOutput(0)); in TEST_F()
174 test::ExpectTensorEqual<float>(expected, *GetOutput(0)); in TEST_F()
196 test::ExpectTensorEqual<float>(expected, *GetOutput(0)); in TEST_F()
/external/tensorflow/tensorflow/core/kernels/sparse/
Dkernels_test.cc42 test::ExpectTensorEqual<int32>(batch_ptr, test::AsTensor<int32>({0, 4})); in TEST()
43 test::ExpectTensorEqual<int32>(csr_row_ptr, in TEST()
45 test::ExpectTensorEqual<int32>(csr_col_ind, in TEST()
67 test::ExpectTensorEqual<int32>(batch_ptr, in TEST()
69 test::ExpectTensorEqual<int32>(csr_row_ptr, in TEST()
73 test::ExpectTensorEqual<int32>(csr_col_ind, test::AsTensor<int32>({0, 3, 1})); in TEST()
/external/tensorflow/tensorflow/cc/client/
Dclient_session_test.cc84 test::ExpectTensorEqual<int>(outputs[0], test::AsTensor<int>({1, 1}, {1, 2})); in TEST()
96 test::ExpectTensorEqual<int>(outputs[0], test::AsTensor<int>({42}, {})); in TEST()
107 test::ExpectTensorEqual<int>(outputs[0], test::AsTensor<int>({3, 3}, {2})); in TEST()
112 test::ExpectTensorEqual<int>(outputs[0], test::AsTensor<int>({31, 42}, {2})); in TEST()
125 test::ExpectTensorEqual<int>(outputs[0], in TEST()
131 test::ExpectTensorEqual<int>(outputs[0], in TEST()
138 test::ExpectTensorEqual<int>(outputs[0], test::AsTensor<int>({-1, 2}, {2})); in TEST()
166 test::ExpectTensorEqual<int>(outputs[0], in TEST()
173 test::ExpectTensorEqual<int>(outputs[0], in TEST()
181 test::ExpectTensorEqual<int>(outputs[0], test::AsTensor<int>({-1, 2}, {2})); in TEST()
[all …]
/external/tensorflow/tensorflow/cc/framework/
Dcc_ops_test.cc54 test::ExpectTensorEqual<int>(out, test::AsTensor<int>({42}, {1, 1})); in TEST()
63 test::ExpectTensorEqual<int>(out, test::AsTensor<int>({42}, {1, 1})); in TEST()
73 test::ExpectTensorEqual<int>(out, test::AsTensor<int>({1, 2}, {2, 1})); in TEST()
92 test::ExpectTensorEqual<int>(outputs[0], test::AsTensor<int>({1, 2, 4, 3})); in TEST()
93 test::ExpectTensorEqual<int>(outputs[1], in TEST()
152 test::ExpectTensorEqual<bool>(out[1], test::AsTensor<bool>({false}, {})); in TEST()
200 test::ExpectTensorEqual<float>( in TEST()
205 test::ExpectTensorEqual<tstring>( in TEST()
217 test::ExpectTensorEqual<float>(out, Tensor(DT_FLOAT, {0})); in TEST()
222 test::ExpectTensorEqual<float>(out, Tensor(DT_FLOAT, {1, 0})); in TEST()
[all …]
/external/tensorflow/tensorflow/core/kernels/mkl/
Dmkl_quantize_op_test.cc63 test::ExpectTensorEqual<quint8>(expected, *GetOutput(0)); in TEST_F()
64 test::ExpectTensorEqual<float>(expected_min, *GetOutput(1)); in TEST_F()
65 test::ExpectTensorEqual<float>(expected_max, *GetOutput(2)); in TEST_F()
92 test::ExpectTensorEqual<qint8>(expected, *GetOutput(0)); in TEST_F()
95 test::ExpectTensorEqual<float>(expected_min, *GetOutput(1)); in TEST_F()
96 test::ExpectTensorEqual<float>(expected_max, *GetOutput(2)); in TEST_F()
122 test::ExpectTensorEqual<quint8>(expected, *GetOutput(0)); in TEST_F()
152 test::ExpectTensorEqual<quint8>(expected, *GetOutput(0)); in TEST_F()
182 test::ExpectTensorEqual<quint8>(expected, *GetOutput(0)); in TEST_F()
/external/tensorflow/tensorflow/core/ops/
Darray_grad_test.cc175 test::ExpectTensorEqual<int32>(dx[0], test::AsScalar(0)); in TEST()
188 test::ExpectTensorEqual<int32>(dx[dx.size() - 1], test::AsScalar(0)); in TEST()
201 test::ExpectTensorEqual<int32>(dx[dx.size() - 1], test::AsScalar(0)); in TEST()
292 test::ExpectTensorEqual<int32>(dx[0], expected_d_dim); in TEST()
302 test::ExpectTensorEqual<int64>(dx[1], expected_d_size_splits); in TEST()
303 test::ExpectTensorEqual<int32>(dx[2], expected_d_dim); in TEST()
343 test::ExpectTensorEqual<int32>(dx[1], test::AsTensor<int32>({0, 0})); in TEST()
382 test::ExpectTensorEqual<int32>(dx[1], test::AsTensor<int32>({0})); in TEST()
449 test::ExpectTensorEqual<int32>(dx[1], test::AsTensor<int32>({0, 0, 0})); in TEST()
483 test::ExpectTensorEqual<bool>(dx[1], test::AsTensor<bool>({false, false})); in TEST()
[all …]
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dfunction_optimizer_test.cc81 test::ExpectTensorEqual<float>(tensors_expected[0], tensors[0]); in TEST_F()
140 test::ExpectTensorEqual<float>(tensors_expected[0], tensors[0]); in TEST_F()
189 test::ExpectTensorEqual<float>(tensors_expected[0], tensors[0]); in TEST_F()
246 test::ExpectTensorEqual<float>(tensors_expected[0], tensors[0]); in TEST_F()
247 test::ExpectTensorEqual<float>(tensors_expected[1], tensors[1]); in TEST_F()
248 test::ExpectTensorEqual<int>(tensors_expected[2], tensors[2]); in TEST_F()
293 test::ExpectTensorEqual<float>(tensors_expected[0], tensors[0]); in TEST_F()
342 test::ExpectTensorEqual<float>(tensors_expected[0], tensors[0]); in TEST_F()
390 test::ExpectTensorEqual<float>(expected[0], optimized[0]); in TEST_F()
391 test::ExpectTensorEqual<float>(expected[1], optimized[1]); in TEST_F()
[all …]

1234