Home
last modified time | relevance | path

Searched refs:expected_values (Results 1 – 25 of 88) sorted by relevance

1234

/external/tensorflow/tensorflow/core/kernels/
Dstring_ngrams_op_test.cc81 std::vector<tstring> expected_values( // in TEST_F() local
86 assert_string_equal(expected_values, *GetOutput(0)); in TEST_F()
99 std::vector<tstring> expected_values( in TEST_F() local
105 assert_string_equal(expected_values, *GetOutput(0)); in TEST_F()
118 std::vector<tstring> expected_values( // in TEST_F() local
123 assert_string_equal(expected_values, *GetOutput(0)); in TEST_F()
136 std::vector<tstring> expected_values( // in TEST_F() local
141 assert_string_equal(expected_values, *GetOutput(0)); in TEST_F()
154 std::vector<tstring> expected_values( // in TEST_F() local
159 assert_string_equal(expected_values, *GetOutput(0)); in TEST_F()
[all …]
Dragged_tensor_from_variant_op_test.cc87 Tensor expected_values(DT_INT32, TensorShape({7})); in TEST_F() local
91 test::FillValues<int>(&expected_values, values); in TEST_F()
102 test::ExpectTensorEqual<int>(*GetOutput(2), expected_values); in TEST_F()
116 Tensor expected_values(DT_INT32, TensorShape({7})); in TEST_F() local
121 test::FillValues<int>(&expected_values, values); in TEST_F()
133 test::ExpectTensorEqual<int>(*GetOutput(3), expected_values); in TEST_F()
166 Tensor expected_values(DT_INT32, TensorShape({6})); in TEST_F() local
170 test::FillValues<int>(&expected_values, batched_values); in TEST_F()
182 test::ExpectTensorEqual<int>(*GetOutput(2), expected_values); in TEST_F()
214 Tensor expected_values(DT_INT32, TensorShape({22})); in TEST_F() local
[all …]
Dsparse_add_op_test.cc86 Tensor expected_values(allocator(), DT_FLOAT, {4}); in TEST_F() local
87 test::FillValues<float>(&expected_values, {2, 4, 6, 8}); in TEST_F()
88 test::ExpectTensorEqual<float>(expected_values, *GetOutput(1)); in TEST_F()
135 Tensor expected_values(allocator(), val_dtype, {expected_nnz}); \
136 test::FillValues<VALTYPE>(&expected_values, {5, 1, 2, 6, 3, 4}); \
137 test::ExpectTensorEqual<VALTYPE>(expected_values, *GetOutput(1)); \
192 Tensor expected_values(allocator(), val_dtype, TensorShape({0})); \
193 test::ExpectTensorEqual<VALTYPE>(expected_values, *GetOutput(1)); \
/external/cronet/third_party/boringssl/src/third_party/googletest/test/
Dgoogletest-param-test-test.cc79 const T (&expected_values)[N]) { in VerifyGenerator()
87 EXPECT_TRUE(expected_values[i] == *it) in VerifyGenerator()
89 << ", expected_values[i] is " << PrintValue(expected_values[i]) in VerifyGenerator()
107 EXPECT_TRUE(expected_values[i] == *it) in VerifyGenerator()
109 << ", expected_values[i] is " << PrintValue(expected_values[i]) in VerifyGenerator()
174 const int expected_values[] = {0, 1, 2}; in TEST() local
175 VerifyGenerator(gen, expected_values); in TEST()
182 const int expected_values[] = {0}; in TEST() local
183 VerifyGenerator(gen, expected_values); in TEST()
197 const int expected_values[] = {0, 3, 6}; in TEST() local
[all …]
/external/googletest/googletest/test/
Dgoogletest-param-test-test.cc79 const T (&expected_values)[N]) { in VerifyGenerator()
87 EXPECT_TRUE(expected_values[i] == *it) in VerifyGenerator()
89 << ", expected_values[i] is " << PrintValue(expected_values[i]) in VerifyGenerator()
107 EXPECT_TRUE(expected_values[i] == *it) in VerifyGenerator()
109 << ", expected_values[i] is " << PrintValue(expected_values[i]) in VerifyGenerator()
174 const int expected_values[] = {0, 1, 2}; in TEST() local
175 VerifyGenerator(gen, expected_values); in TEST()
182 const int expected_values[] = {0}; in TEST() local
183 VerifyGenerator(gen, expected_values); in TEST()
197 const int expected_values[] = {0, 3, 6}; in TEST() local
[all …]
/external/cronet/third_party/googletest/src/googletest/test/
Dgoogletest-param-test-test.cc79 const T (&expected_values)[N]) { in VerifyGenerator()
87 EXPECT_TRUE(expected_values[i] == *it) in VerifyGenerator()
89 << PrintValue(expected_values[i]) << ", *it is " << PrintValue(*it) in VerifyGenerator()
106 EXPECT_TRUE(expected_values[i] == *it) in VerifyGenerator()
108 << PrintValue(expected_values[i]) << ", *it is " << PrintValue(*it) in VerifyGenerator()
172 const int expected_values[] = {0, 1, 2}; in TEST() local
173 VerifyGenerator(gen, expected_values); in TEST()
180 const int expected_values[] = {0}; in TEST() local
181 VerifyGenerator(gen, expected_values); in TEST()
195 const int expected_values[] = {0, 3, 6}; in TEST() local
[all …]
/external/rust/crates/quiche/deps/boringssl/src/third_party/googletest/test/
Dgoogletest-param-test-test.cc79 const T (&expected_values)[N]) { in VerifyGenerator()
87 EXPECT_TRUE(expected_values[i] == *it) in VerifyGenerator()
89 << ", expected_values[i] is " << PrintValue(expected_values[i]) in VerifyGenerator()
107 EXPECT_TRUE(expected_values[i] == *it) in VerifyGenerator()
109 << ", expected_values[i] is " << PrintValue(expected_values[i]) in VerifyGenerator()
174 const int expected_values[] = {0, 1, 2}; in TEST() local
175 VerifyGenerator(gen, expected_values); in TEST()
182 const int expected_values[] = {0}; in TEST() local
183 VerifyGenerator(gen, expected_values); in TEST()
197 const int expected_values[] = {0, 3, 6}; in TEST() local
[all …]
/external/tensorflow/tensorflow/python/kernel_tests/math_ops/
Dsets_test.py176 expected_values = _values([1, 9], dtype)
186 expected_values,
197 expected_values,
213 expected_values = _values([1, 9], dtype)
223 expected_values,
238 expected_values = _values([1], dtype)
248 expected_values,
259 expected_values,
270 expected_values,
382 expected_values = _values(
[all …]
Dargmax_op_test.py33 expected_values, argument
42 self.assertAllEqual(tf_ans, expected_values)
43 self.assertShapeEqual(expected_values, ans)
52 expected_values, argument
54 self._testArg(method, x, axis, expected_values, True, expected_err_re)
57 self._testArg(method, x, axis, expected_values, False, expected_err_re)
101 expected_values = x.argmax()
108 self.assertAllEqual(tf_ans, expected_values)
109 expected_values = x.argmin()
114 self.assertAllEqual(tf_ans, expected_values)
/external/tensorflow/tensorflow/python/kernel_tests/nn_ops/
Dnth_element_op_test.py32 def _validateNthElement(self, inputs, dtype, n, reverse, expected_values): argument
33 np_expected_values = np.array(expected_values)
64 expected_values = sort_inputs[..., n]
66 inputs, dtypes.float32, n, False, expected_values)
67 expected_values = sort_inputs[..., ::-1][..., n]
69 inputs, dtypes.float64, n, True, expected_values)
75 expected_values = sort_inputs[..., n]
77 inputs, dtypes.int32, n, False, expected_values)
78 expected_values = sort_inputs[..., ::-1][..., n]
80 inputs, dtypes.int64, n, True, expected_values)
[all …]
/external/harfbuzz_ng/src/
Dtest-array.cc37 int expected_values[] = {9, 8, 7, 6, 5, 4, 3, 2, 1}; in test_reverse() local
38 hb_array_t<int> expected (expected_values, 9); in test_reverse()
49 int expected_values[] = {1, 2, 6, 5, 4, 3, 7, 8, 9}; in test_reverse_range() local
50 hb_array_t<int> expected (expected_values, 9); in test_reverse_range()
65 int expected_values[] = {1, 2, 3, 4, 5, 6, 7, 8, 9}; in test_reverse_invalid() local
66 hb_array_t<int> expected (expected_values, 9); in test_reverse_invalid()
/external/tensorflow/tensorflow/compiler/tests/
Dspecial_math_test.py98 expected_values = np.log1p(x)
103 self.assertAllClose(expected_values, actual, atol=atol, rtol=rtol)
218 expected_values = sps.zeta(x, q)
224 self.assertAllClose(expected_values, actual, atol=atol, rtol=rtol)
235 expected_values = sps.zeta(x, q)
239 self.assertAllClose(expected_values, actual, atol=atol, rtol=rtol)
248 expected_values = sps.zeta(x, q)
252 self.assertAllClose(expected_values, actual, atol=atol, rtol=rtol)
261 expected_values = sps.zeta(x, q)
265 self.assertAllClose(expected_values, actual, atol=atol, rtol=rtol)
[all …]
/external/tensorflow/tensorflow/python/distribute/
Dinput_lib_test.py130 expected_values, argument
135 for _ in range(len(expected_values)):
145 for expected_value, actual_value in zip(expected_values, actual_values):
149 def _assert_dataset_values_for_loop(self, dataset, expected_values, argument
156 for expected_value, actual_value in zip(expected_values, actual_values):
166 expected_values, argument
220 self._assert_iterator_values(iterator, expected_values, evaluate,
224 self._assert_iterator_values(iterator, expected_values, evaluate,
236 self._assert_iterator_values(iterator, expected_values, evaluate,
242 expected_values,
[all …]
Done_device_strategy_test.py56 expected_values = [[i] for i in range(10)]
62 self._test_input_fn_iterable(distribution, input_fn, expected_values)
66 expected_values = [[i] for i in range(10)]
74 iterator, distribution.extended.worker_devices, expected_values)
81 expected_values = [[i] for i in range(10)]
89 iterator, distribution.extended.worker_devices, expected_values,
/external/bsdiff/
Dextents_unittest.cc34 std::vector<ex_t> expected_values = {{10, 20}, {30, 40}}; in TEST_F() local
35 EXPECT_EQ(expected_values, extents_); in TEST_F()
52 std::vector<ex_t> expected_values = {{10, 20}, {-1, 40}, {50, 60}}; in TEST_F() local
53 EXPECT_EQ(expected_values, extents_); in TEST_F()
/external/tflite-support/tensorflow_lite_support/custom_ops/kernel/
Dwhitespace_tokenizer_test.cc83 std::vector<int64_t> expected_values(size + 1); in CheckRowSplits() local
88 expected_values[0] = index; in CheckRowSplits()
91 expected_values[j + 1] = index; in CheckRowSplits()
95 expected_values[j] = j * input_shape_[i + 1]; in CheckRowSplits()
99 ElementsAreArray(expected_values)) in CheckRowSplits()
/external/tensorflow/tensorflow/compiler/xla/tests/
Ddynamic_ops_test.cc130 Literal expected_values = in RunR1() local
144 ComputeAndCompareLiteral(&builder, expected_values, {start_data.get()}); in RunR1()
156 Literal expected_values = in RunR2() local
179 ComputeAndCompareLiteral(&builder, expected_values, argument_ptrs); in RunR2()
191 Literal expected_values = in RunR3() local
213 ComputeAndCompareLiteral(&builder, expected_values, argument_ptrs); in RunR3()
413 Literal expected_values = in RunR1() local
428 ComputeAndCompareLiteral(&builder, expected_values, {start_data.get()}); in RunR1()
444 Literal expected_values = in RunR2() local
467 ComputeAndCompareLiteral(&builder, expected_values, argument_ptrs); in RunR2()
[all …]
/external/tensorflow/tensorflow/compiler/tf2tensorrt/utils/
Dtrt_testutils.h131 MATCHER_P2(ShapedWeightsHasDimsAndValuesHelper, dims_vec, expected_values, "") {
136 if (arg.count() != expected_values.size()) {
139 using T = typename decltype(expected_values)::value_type;
141 for (int i = 0; i < expected_values.size(); ++i) {
142 if (expected_values[i] != actual_values[i]) {
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/
Dparse_example_dataset_test.py66 expected_values=None, argument
85 self._compare_output_to_expected(result, expected_values)
93 self._compare_output_to_expected(result, expected_values)
146 expected_values=expected_output,
251 expected_values=expected_output,
288 expected_values=expected_output,
330 expected_values=expected_output,
376 expected_values=expected_output,
414 expected_values=expected_output,
464 expected_values=expected_output,
[all …]
/external/tensorflow/third_party/absl/abseil-cpp/absl/types/
Dany_test.cc215 std::vector<int> expected_values = {1, 2, 3, 4}; in TEST() local
216 EXPECT_EQ(expected_values, v.values); in TEST()
224 std::vector<int> expected_values = {1, 2, 3, 4}; in TEST() local
225 EXPECT_EQ(expected_values, v.values); in TEST()
233 std::vector<int> expected_values = {1, 2, 3, 4}; in TEST() local
234 EXPECT_EQ(expected_values, v.values); in TEST()
242 std::vector<int> expected_values = {1, 2, 3, 4}; in TEST() local
243 EXPECT_EQ(expected_values, v.values); in TEST()
328 std::vector<int> expected_values = {1, 2, 3, 4}; in TEST() local
329 EXPECT_EQ(expected_values, v.values); in TEST()
[all …]
/external/libtextclassifier/abseil-cpp/absl/types/
Dany_test.cc215 std::vector<int> expected_values = {1, 2, 3, 4}; in TEST() local
216 EXPECT_EQ(expected_values, v.values); in TEST()
224 std::vector<int> expected_values = {1, 2, 3, 4}; in TEST() local
225 EXPECT_EQ(expected_values, v.values); in TEST()
233 std::vector<int> expected_values = {1, 2, 3, 4}; in TEST() local
234 EXPECT_EQ(expected_values, v.values); in TEST()
242 std::vector<int> expected_values = {1, 2, 3, 4}; in TEST() local
243 EXPECT_EQ(expected_values, v.values); in TEST()
328 std::vector<int> expected_values = {1, 2, 3, 4}; in TEST() local
329 EXPECT_EQ(expected_values, v.values); in TEST()
[all …]
/external/openscreen/third_party/abseil/src/absl/types/
Dany_test.cc215 std::vector<int> expected_values = {1, 2, 3, 4}; in TEST() local
216 EXPECT_EQ(expected_values, v.values); in TEST()
224 std::vector<int> expected_values = {1, 2, 3, 4}; in TEST() local
225 EXPECT_EQ(expected_values, v.values); in TEST()
233 std::vector<int> expected_values = {1, 2, 3, 4}; in TEST() local
234 EXPECT_EQ(expected_values, v.values); in TEST()
242 std::vector<int> expected_values = {1, 2, 3, 4}; in TEST() local
243 EXPECT_EQ(expected_values, v.values); in TEST()
328 std::vector<int> expected_values = {1, 2, 3, 4}; in TEST() local
329 EXPECT_EQ(expected_values, v.values); in TEST()
[all …]
/external/cronet/third_party/abseil-cpp/absl/types/
Dany_test.cc215 std::vector<int> expected_values = {1, 2, 3, 4}; in TEST() local
216 EXPECT_EQ(expected_values, v.values); in TEST()
224 std::vector<int> expected_values = {1, 2, 3, 4}; in TEST() local
225 EXPECT_EQ(expected_values, v.values); in TEST()
233 std::vector<int> expected_values = {1, 2, 3, 4}; in TEST() local
234 EXPECT_EQ(expected_values, v.values); in TEST()
242 std::vector<int> expected_values = {1, 2, 3, 4}; in TEST() local
243 EXPECT_EQ(expected_values, v.values); in TEST()
328 std::vector<int> expected_values = {1, 2, 3, 4}; in TEST() local
329 EXPECT_EQ(expected_values, v.values); in TEST()
[all …]
/external/abseil-cpp/absl/types/
Dany_test.cc215 std::vector<int> expected_values = {1, 2, 3, 4}; in TEST() local
216 EXPECT_EQ(expected_values, v.values); in TEST()
224 std::vector<int> expected_values = {1, 2, 3, 4}; in TEST() local
225 EXPECT_EQ(expected_values, v.values); in TEST()
233 std::vector<int> expected_values = {1, 2, 3, 4}; in TEST() local
234 EXPECT_EQ(expected_values, v.values); in TEST()
242 std::vector<int> expected_values = {1, 2, 3, 4}; in TEST() local
243 EXPECT_EQ(expected_values, v.values); in TEST()
328 std::vector<int> expected_values = {1, 2, 3, 4}; in TEST() local
329 EXPECT_EQ(expected_values, v.values); in TEST()
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/types/
Dany_test.cc215 std::vector<int> expected_values = {1, 2, 3, 4}; in TEST() local
216 EXPECT_EQ(expected_values, v.values); in TEST()
224 std::vector<int> expected_values = {1, 2, 3, 4}; in TEST() local
225 EXPECT_EQ(expected_values, v.values); in TEST()
233 std::vector<int> expected_values = {1, 2, 3, 4}; in TEST() local
234 EXPECT_EQ(expected_values, v.values); in TEST()
242 std::vector<int> expected_values = {1, 2, 3, 4}; in TEST() local
243 EXPECT_EQ(expected_values, v.values); in TEST()
328 std::vector<int> expected_values = {1, 2, 3, 4}; in TEST() local
329 EXPECT_EQ(expected_values, v.values); in TEST()
[all …]

1234