Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/python/kernel_tests/
Ddecode_csv_op_test.py33 def _test(self, args, expected_out=None, expected_err_re=None): argument
40 self.assertAllClose(field, expected_out[i])
42 self.assertAllEqual(field, expected_out[i])
54 expected_out = [[1, 2, 3]]
56 self._test(args, expected_out)
64 expected_out = [[1, 2, 3], [4, 5, 6]]
66 self._test(args, expected_out)
90 expected_out = [[b"1", b"2", b'"3"']]
92 self._test(args, expected_out)
97 expected_out = [1, 4]
[all …]
Dsparse_cross_op_test.py43 expected_out = self._sparse_tensor([['batch1-FC1-F1_X_batch1-FC2-F1'], [
48 self._assert_sparse_tensor_equals(expected_out, self.evaluate(op))
61 expected_out = self._sparse_tensor([[
69 self._assert_sparse_tensor_equals(expected_out, self.evaluate(op))
79 expected_out = self._sparse_tensor([['11_X_batch1-FC2-F1'], [
84 self._assert_sparse_tensor_equals(expected_out, self.evaluate(op))
95 expected_out = self._sparse_tensor([[
103 self._assert_sparse_tensor_equals(expected_out, self.evaluate(op))
115 expected_out = self._sparse_tensor(
121 self._assert_sparse_tensor_equals(expected_out, self.evaluate(op))
[all …]
Dbucketize_op_test.py34 expected_out = [0, 1, 1, 2, 2, 3, 3, 4, 4]
36 self.assertAllEqual(expected_out, self.evaluate(op))
42 expected_out = [0, 1, 1, 2, 2, 3, 3, 4, 4]
44 self.assertAllEqual(expected_out, self.evaluate(op))
50 expected_out = [[0, 1, 1, 2, 2], [3, 3, 4, 4, 1]]
52 self.assertAllEqual(expected_out, self.evaluate(op))
/external/tensorflow/tensorflow/contrib/layers/python/kernel_tests/
Dsparse_feature_cross_op_test.py44 expected_out = self._sparse_tensor([['batch1-FC1-F1_X_batch1-FC2-F1'], [
49 self._assert_sparse_tensor_equals(expected_out, sess.run(op))
62 expected_out = self._sparse_tensor([[
70 self._assert_sparse_tensor_equals(expected_out, sess.run(op))
79 expected_out = self._sparse_tensor([['11_X_batch1-FC2-F1'], [
84 self._assert_sparse_tensor_equals(expected_out, sess.run(op))
95 expected_out = self._sparse_tensor([[
103 self._assert_sparse_tensor_equals(expected_out, sess.run(op))
115 expected_out = self._sparse_tensor(
121 self._assert_sparse_tensor_equals(expected_out, sess.run(op))
[all …]
/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/tensorflow/tensorflow/python/keras/layers/
Dconvolutional_test.py474 expected_out = np.repeat(inputs, length_row, axis=2)
475 expected_out = np.repeat(expected_out, length_col, axis=3)
477 expected_out = np.repeat(inputs, length_row, axis=1)
478 expected_out = np.repeat(expected_out, length_col, axis=2)
480 np.testing.assert_allclose(np_output, expected_out)
563 expected_out = np.repeat(inputs, length_dim1, axis=2)
564 expected_out = np.repeat(expected_out, length_dim2, axis=3)
565 expected_out = np.repeat(expected_out, length_dim3, axis=4)
567 expected_out = np.repeat(inputs, length_dim1, axis=1)
568 expected_out = np.repeat(expected_out, length_dim2, axis=2)
[all …]
Dnormalization_test.py560 expected_out = (
568 self.assertAllClose(expected_out, outputs, atol=5 * tol)
/external/tensorflow/tensorflow/compiler/tests/
Dbucketize_op_test.py36 expected_out = [0, 1, 1, 2, 2, 3, 3, 4, 4]
37 self.assertAllEqual(expected_out,
45 expected_out = [0, 1, 1, 2, 2, 3, 3, 4, 4]
47 expected_out,
55 expected_out = [[0, 1, 1, 2, 2], [3, 3, 4, 4, 1]]
57 expected_out, sess.run(op,
/external/perf_data_converter/src/quipper/
Dbuffer_reader_test.cc225 string expected_out; in TEST() local
229 expected_out = MakeStringWithNullsForSpaces("The quick "); in TEST()
230 EXPECT_EQ(10, expected_out.size()) << "Sanity"; in TEST()
231 EXPECT_EQ(expected_out, out); in TEST()
235 expected_out = MakeStringWithNullsForSpaces("brown fox "); in TEST()
236 EXPECT_EQ(10, expected_out.size()) << "Sanity"; in TEST()
237 EXPECT_EQ(expected_out, out); in TEST()
243 expected_out = out; in TEST()
245 EXPECT_EQ(expected_out, out) << "Should be unchanged."; in TEST()
248 expected_out = out; in TEST()
[all …]
/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/pdfium/core/fxcodec/codec/
Dfx_codec_a85_unittest.cpp45 const uint8_t expected_out[] = {33, 60, 78, 63, 43, 115, in TEST() local
50 EXPECT_EQ(expected_out[i], dest_buf[i]) << " at " << i; in TEST()
127 const uint8_t expected_out[] = {33, 60, 78, 63, 43, 122, 126, 62}; in TEST() local
131 EXPECT_EQ(expected_out[i], dest_buf[i]) << " at " << i; in TEST()
/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/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/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/
Dcas.ll7 ; "mov %[expected], %[expected_out]; "
10 ; [expected_out] "=rm" (*expected)
/external/tensorflow/tensorflow/python/training/
Dtraining_ops_test.py113 expected_out = np.array([(
122 self.assertAllClose(expected_out, out, rtol=2e-2, atol=2e-2)
127 self.assertAllClose(expected_out, out, rtol=1e-5, atol=1e-5)
130 self.assertAllClose(expected_out, out)
/external/tensorflow/tensorflow/core/graph/
Dgraph_test.cc58 const std::vector<Node*>& expected_out) { in VerifyNodes() argument
69 EXPECT_EQ(Stringify(expected_out), Stringify(out)); in VerifyNodes()
/external/openssh/
Dconfigure.ac3807 char expected_out[50];
3814 strcpy(expected_out, "9223372036854775807");
3816 if(strcmp(buf, expected_out) != 0)
Dconfigure15486 char expected_out[50];
15493 strcpy(expected_out, "9223372036854775807");
15495 if(strcmp(buf, expected_out) != 0)
/external/tensorflow/tensorflow/contrib/layers/python/layers/
Dlayers_test.py2915 expected_out = (
2923 self.assertAllClose(expected_out, outputs, atol=5 * tol)