Home
last modified time | relevance | path

Searched refs:expected_out (Results 1 – 25 of 27) sorted by relevance

12

/external/tensorflow/tensorflow/python/kernel_tests/
Ddecode_csv_op_test.py32 def _test(self, args, expected_out=None, expected_err_re=None): argument
39 self.assertAllClose(field, expected_out[i])
41 self.assertAllEqual(field, expected_out[i])
53 expected_out = [[1, 2, 3]]
55 self._test(args, expected_out)
63 expected_out = [[1, 2, 3], [4, 5, 6]]
65 self._test(args, expected_out)
89 expected_out = [[b"1", b"2", b'"3"']]
91 self._test(args, expected_out)
96 expected_out = [1, 4]
[all …]
Dsparse_cross_op_test.py90 expected_out = self._sparse_tensor([['batch1-FC1-F1_X_batch1-FC2-F1'], [
95 self._assert_sparse_tensor_equals(expected_out, self.evaluate(op))
108 expected_out = self._sparse_tensor([[
116 self._assert_sparse_tensor_equals(expected_out, self.evaluate(op))
126 expected_out = self._sparse_tensor([['11_X_batch1-FC2-F1'], [
131 self._assert_sparse_tensor_equals(expected_out, self.evaluate(op))
142 expected_out = self._sparse_tensor([[
150 self._assert_sparse_tensor_equals(expected_out, self.evaluate(op))
162 expected_out = self._sparse_tensor(
168 self._assert_sparse_tensor_equals(expected_out, self.evaluate(op))
[all …]
Dbucketize_op_test.py38 expected_out = [0, 1, 1, 2, 2, 3, 3, 4, 4]
40 self.assertAllEqual(expected_out, self.evaluate(op))
45 expected_out = np.zeros([0, 3], dtype=np.float32)
47 self.assertAllEqual(expected_out, self.evaluate(op))
53 expected_out = [0, 1, 1, 2, 2, 3, 3, 4, 4]
55 self.assertAllEqual(expected_out, self.evaluate(op))
61 expected_out = [[0, 1, 1, 2, 2], [3, 3, 4, 4, 1]]
63 self.assertAllEqual(expected_out, self.evaluate(op))
Dbincount_op_test.py265 expected_out = [[0., 1., 1., 1.], [1., 0., 1., 1.]]
266 self.assertAllEqual(expected_out, v)
/external/clang/tools/scan-build-py/tests/functional/exec/
Dmain.c61 void expected_out(const char *file) { in expected_out() function
119 expected_out(file); in call_execv()
133 expected_out(file); in call_execve()
146 expected_out(file); in call_execvp()
159 expected_out(file); in call_execvP()
173 expected_out(file); in call_execvpe()
187 expected_out(file); in call_exect()
199 expected_out(file); in call_execl()
211 expected_out(file); in call_execlp()
224 expected_out(file); in call_execle()
[all …]
/external/llvm-project/clang/tools/scan-build-py/tests/functional/exec/
Dmain.c60 void expected_out(const char *file) { in expected_out() function
118 expected_out(file); in call_execv()
132 expected_out(file); in call_execve()
145 expected_out(file); in call_execvp()
158 expected_out(file); in call_execvP()
172 expected_out(file); in call_execvpe()
186 expected_out(file); in call_exect()
198 expected_out(file); in call_execl()
210 expected_out(file); in call_execlp()
223 expected_out(file); in call_execle()
[all …]
/external/tensorflow/tensorflow/compiler/tests/
Dbucketize_op_test.py37 expected_out = [0, 1, 1, 2, 2, 3, 3, 4, 4]
38 self.assertAllEqual(expected_out,
46 expected_out = [0, 1, 1, 2, 2, 3, 3, 4, 4]
48 expected_out,
56 expected_out = [[0, 1, 1, 2, 2], [3, 3, 4, 4, 1]]
58 expected_out, sess.run(op,
Densure_shape_op_test.py36 expected_out = [[0, 1, 2], [3, 4, 5], [6, 7, 8]]
37 self.assertAllEqual(expected_out,
/external/webrtc/rtc_tools/frame_analyzer/
Dvideo_quality_analysis_unittest.cc31 const std::vector<std::string>& expected_out) { in VerifyLogOutput() argument
36 for (i = 0; i < expected_out.size() && getline(logf, line); ++i) { in VerifyLogOutput()
37 ASSERT_EQ(expected_out.at(i), line); in VerifyLogOutput()
39 ASSERT_TRUE(i == expected_out.size()) << "Not enough input data"; in VerifyLogOutput()
95 std::vector<std::string> expected_out = { in TEST_F() local
101 VerifyLogOutput(log_filename, expected_out); in TEST_F()
121 std::vector<std::string> expected_out = { in TEST_F() local
127 VerifyLogOutput(log_filename, expected_out); in TEST_F()
/external/tensorflow/tensorflow/python/ops/ragged/
Dragged_gather_op_test.py203 expected_out = [[1.0, 2.0], [1.0, 2.0], [3.0, 4.0, 5.0]],
210 expected_out = [],
217 expected_out = [[[1.0, 2.0], [1.0, 2.0]],
226 expected_out = [[[7.0, 8.0]], [[6.0]], [[7.0, 8.0]]],
233 expected_out = [[[7.0, 8.0]], [[6.0]], [[7.0, 8.0]]],
240 expected_out = [],
248 expected_out = [[], [], [[5, 6]], [[1, 2], [3, 4]], [[5, 6]]],
257 expected_out, argument
284 expected_out = ragged_factory_ops.constant(
285 expected_out, dtype=dtypes.float32, ragged_rank=out_ragged_rank)
[all …]
/external/pdfium/core/fxcodec/basic/
Da85_unittest.cpp34 const uint8_t expected_out[] = {33, 60, 78, 63, 43, 115, in TEST() local
36 ASSERT_EQ(FX_ArraySize(expected_out), dest_size); in TEST()
41 EXPECT_EQ(expected_out[i], dest_buf_span[i]) << " at " << i; in TEST()
113 const uint8_t expected_out[] = {33, 60, 78, 63, 43, 122, 126, 62}; in TEST() local
114 ASSERT_EQ(FX_ArraySize(expected_out), dest_size); in TEST()
119 EXPECT_EQ(expected_out[i], dest_buf_span[i]) << " at " << i; in TEST()
/external/tensorflow/tensorflow/python/keras/layers/
Dconvolutional_test.py904 expected_out = np.repeat(inputs, length_row, axis=2)
905 expected_out = np.repeat(expected_out, length_col, axis=3)
907 expected_out = np.repeat(inputs, length_row, axis=1)
908 expected_out = np.repeat(expected_out, length_col, axis=2)
910 np.testing.assert_allclose(np_output, expected_out)
993 expected_out = np.repeat(inputs, length_dim1, axis=2)
994 expected_out = np.repeat(expected_out, length_dim2, axis=3)
995 expected_out = np.repeat(expected_out, length_dim3, axis=4)
997 expected_out = np.repeat(inputs, length_dim1, axis=1)
998 expected_out = np.repeat(expected_out, length_dim2, axis=2)
[all …]
Dcore_test.py258 expected_out = np.full([5, 4, 3], 2.0)
259 expected_out[:, -1, :] = 1.0
263 self.assertAllClose(self.evaluate(out), expected_out)
275 expected_out = ragged_factory_ops.constant([[2.0], [3.0, 4.0]])
276 self.assertAllClose(out, expected_out)
/external/eigen/unsupported/test/
Dcxx11_tensor_cuda.cu665 Tensor<Scalar, 1> expected_out(7); in test_cuda_digamma() local
676 expected_out(0) = Scalar(-0.5772156649015329); in test_cuda_digamma()
677 expected_out(1) = Scalar(0.03648997397857645); in test_cuda_digamma()
678 expected_out(2) = Scalar(1.2561176684318); in test_cuda_digamma()
679 expected_out(3) = Scalar(2.398239129535781); in test_cuda_digamma()
680 expected_out(4) = Scalar(9.210340372392849); in test_cuda_digamma()
681 expected_out(5) = std::numeric_limits<Scalar>::infinity(); in test_cuda_digamma()
682 expected_out(6) = std::numeric_limits<Scalar>::infinity(); in test_cuda_digamma()
705 VERIFY_IS_APPROX(out(i), expected_out(i)); in test_cuda_digamma()
708 VERIFY_IS_EQUAL(out(i), expected_out(i)); in test_cuda_digamma()
[all …]
/external/tensorflow/tensorflow/python/distribute/
Dmulti_worker_continuous_run_test.py89 expected_out = np.ones(tensor_shape) * expected_mean
90 self.assertAllClose(t_out, expected_out)
122 expected_out = np.ones(tensor_shape)
123 self.assertAllClose(t_out, expected_out)
/external/capstone/suite/arm/
Dtest_arm_regression.c238 char *expected_out; member
337 valid_code->comment, valid_code->expected_out); in test_valids()
360 tmp_len = strlen(valid_code->expected_out); in test_valids()
365 if (memcmp(tmp_buf, valid_code->expected_out, max_len)) { in test_valids()
369 tmp_buf, valid_code->expected_out in test_valids()
/external/rust/crates/ring/tests/
Dhkdf_tests.rs60 let expected_out = test_case.consume_bytes("OKM"); in hkdf_tests() localVariable
67 .expand(&[&info], My(expected_out.len())) in hkdf_tests()
70 assert_eq!(out, expected_out); in hkdf_tests()
/external/tensorflow/tensorflow/python/training/
Dtraining_ops_test.py114 expected_out = np.array([(
123 self.assertAllClose(expected_out, out, rtol=2e-2, atol=2e-2)
128 self.assertAllClose(expected_out, out, rtol=1e-5, atol=1e-5)
131 self.assertAllClose(expected_out, out)
168 expected_out = np.array([
178 self.assertAllClose(expected_out, out, rtol=2e-2, atol=2e-2)
183 self.assertAllClose(expected_out, out, rtol=1e-5, atol=1e-5)
186 self.assertAllClose(expected_out, out)
/external/tensorflow/tensorflow/python/keras/layers/preprocessing/
Dcategory_crossing_test.py92 expected_out = [[b'a', b'd'], [b'b', b'e'], [b'c', b'f']]
93 self.assertAllEqual(expected_out, output)
120 expected_out = array_ops.concat(
122 self.assertAllEqual(expected_out, output)
/external/python/cpython2/Lib/test/
Dtest_popen2.py61 def validate_output(self, teststr, expected_out, r, w, e=None): argument
65 self.assertEqual(expected_out, got.strip(), "wrote %r read %r" %
/external/llvm/test/CodeGen/X86/
Dcas.ll7 ; "mov %[expected], %[expected_out]; "
10 ; [expected_out] "=rm" (*expected)
/external/llvm-project/llvm/test/CodeGen/X86/
Dcas.ll7 ; "mov %[expected], %[expected_out]; "
10 ; [expected_out] "=rm" (*expected)
/external/libaom/libaom/test/
Dcnn_test.cc84 const float *expected_out = expected[output_idx]; in RunMultiOutCNNTest() local
94 EXPECT_NEAR(expected_out[expected_ite], buf_out[i], in RunMultiOutCNNTest()
97 << expected_ite % out_size << ": " << expected_out[expected_ite] in RunMultiOutCNNTest()
99 mse += SQR(expected_out[expected_ite] - buf_out[i]); in RunMultiOutCNNTest()
/external/tensorflow/tensorflow/lite/python/
Dutil_test.py132 expected_out = np.reshape(in_array, (2, 2))
138 self.assertAllEqual(expected_out, output_data)
/external/tensorflow/tensorflow/core/graph/
Dgraph_test.cc59 const std::vector<Node*>& expected_out) { in VerifyNodes() argument
70 EXPECT_EQ(Stringify(expected_out), Stringify(out)); in VerifyNodes()

12