Home
last modified time | relevance | path

Searched refs:expected_output (Results 1 – 25 of 73) sorted by relevance

123

/external/tensorflow/tensorflow/compiler/tests/
Dconv2d_test.py80 expected_output = np.reshape([
89 expected=expected_output)
92 expected_output = np.reshape(
99 expected=expected_output)
102 expected_output = np.array([[[[72], [82], [92]], [[112], [122], [132]]]])
109 expected=expected_output)
112 expected_output = np.reshape([
121 expected=expected_output)
124 expected_output = np.reshape([2271.0, 2367.0, 2463.0], [1, 1, 1, 3])
130 expected=expected_output)
[all …]
Dpooling_ops_3d_test.py78 expected_output = [20.5, 21.5, 22.5]
85 expected=expected_output)
88 expected_output = [20.5, 21.5, 22.5, 26.5, 27.5, 28.5]
95 expected=expected_output)
98 expected_output = [1.5, 4.5, 7.5, 17.5, 20.5, 23.5, 33.5, 36.5, 39.5]
105 expected=expected_output)
108 expected_output = [40.0, 41.0, 42.0]
115 expected=expected_output)
118 expected_output = [31., 32., 33., 34., 35., 36.]
125 expected=expected_output)
[all …]
Dpooling_ops_test.py128 expected_output = [13.0, 14.0, 15.0]
134 expected=expected_output)
137 expected_output = [13.0, 14.0, 15.0, 16.0, 17.0, 18.0]
143 expected=expected_output)
179 expected_output = [
189 expected=expected_output)
192 expected_output = [
213 expected=expected_output)
271 expected_output = [7, 8, 9]
278 expected=expected_output)
[all …]
/external/libmojo/mojo/public/cpp/bindings/tests/
Dstruct_unittest.cc245 MultiVersionStructPtr expected_output(MultiVersionStruct::New()); in TEST_F() local
246 expected_output->f_int32 = 123; in TEST_F()
251 EXPECT_TRUE(output->Equals(*expected_output)); in TEST_F()
258 MultiVersionStructPtr expected_output(MultiVersionStruct::New()); in TEST_F() local
259 expected_output->f_int32 = 123; in TEST_F()
260 expected_output->f_rect = MakeRect(5); in TEST_F()
265 EXPECT_TRUE(output->Equals(*expected_output)); in TEST_F()
273 MultiVersionStructPtr expected_output(MultiVersionStruct::New()); in TEST_F() local
274 expected_output->f_int32 = 123; in TEST_F()
275 expected_output->f_rect = MakeRect(5); in TEST_F()
[all …]
/external/tensorflow/tensorflow/python/kernel_tests/
Dedit_distance_op_test.py44 expected_output, argument
53 self.assertAllClose(output, expected_output)
62 expected_output, argument
79 expected_output=expected_output,
91 expected_output=expected_output,
102 expected_output = [1.0, 0.5]
108 expected_output=expected_output)
117 expected_output = [2.0, 2.0]
123 expected_output=expected_output)
143 expected_output=expected_unnormalized)
[all …]
Dconv_ops_3d_test.py121 expected_output = [
133 expected=expected_output)
139 expected=expected_output)
145 expected=expected_output)
149 expected_output = [
161 expected=expected_output)
164 expected_output = [
182 expected=expected_output)
185 expected_output = [
193 expected=expected_output)
[all …]
Dpooling_ops_3d_test.py96 expected_output = [20.5, 21.5, 22.5]
103 expected=expected_output)
106 expected_output = [20.5, 21.5, 22.5, 26.5, 27.5, 28.5]
113 expected=expected_output)
116 expected_output = [1.5, 4.5, 7.5, 17.5, 20.5, 23.5, 33.5, 36.5, 39.5]
123 expected=expected_output)
126 expected_output = [40.0, 41.0, 42.0]
133 expected=expected_output)
136 expected_output = [31., 32., 33., 34., 35., 36.]
143 expected=expected_output)
[all …]
Dparse_single_example_op_test.py138 expected_output = {
160 }, expected_output)
269 for proto, expected_output in zip(original, expected_outputs):
276 }, expected_output)
313 for proto, expected_output in zip(original, expected_outputs):
321 }, expected_output)
348 for proto, expected_output in zip(original, expected_outputs):
362 }, expected_output)
401 for proto, expected_output in zip(original, expected_outputs):
409 }, expected_output)
[all …]
Dconv_ops_test.py350 expected_output = [
359 expected=expected_output)
372 expected_output = []
378 expected=expected_output)
392 expected_output = [2271.0, 2367.0, 2463.0, 2901.0, 3033.0, 3165.0]
398 expected=expected_output)
412 expected_output = [
421 expected=expected_output)
434 expected_output = [2271.0, 2367.0, 2463.0]
440 expected=expected_output)
[all …]
Dparsing_ops_test.py139 expected_output = {
167 expected_output)
279 expected_output = {
290 }, expected_output)
322 expected_output = {"sp": expected_sp,}
330 }, expected_output)
359 expected_output = {
373 }, expected_output)
410 expected_output = {"sp": expected_sp,}
418 }, expected_output)
[all …]
/external/tensorflow/tensorflow/core/kernels/
Dspectrogram_test.cc240 std::vector<std::vector<complex<double>>> expected_output; in TEST() local
243 kDataVectorLength, &expected_output)); in TEST()
244 EXPECT_EQ(kNumberOfFramesInTestData, expected_output.size()); in TEST()
245 EXPECT_EQ(kDataVectorLength, expected_output[0].size()); in TEST()
248 CompareComplexData(expected_output, output, 1e-5); in TEST()
262 std::vector<std::vector<complex<double>>> expected_output; in TEST() local
265 kDataVectorLength, &expected_output)); in TEST()
266 EXPECT_EQ(kNumberOfFramesInTestData, expected_output.size()); in TEST()
267 EXPECT_EQ(kDataVectorLength, expected_output[0].size()); in TEST()
270 CompareComplexData(expected_output, output, 1e-4); in TEST()
[all …]
/external/protobuf/gtest/test/
Dgtest_list_tests_unittest.py103 def RunAndVerify(self, flag_value, expected_output, other_flag): argument
138 if expected_output is not None:
139 self.assert_(output == expected_output, msg)
147 expected_output=None,
154 expected_output=None,
157 expected_output=EXPECTED_OUTPUT_NO_FILTER,
164 expected_output=EXPECTED_OUTPUT_NO_FILTER,
172 expected_output=EXPECTED_OUTPUT_FILTER_FOO,
/external/google-breakpad/src/testing/gtest/test/
Dgtest_list_tests_unittest.py103 def RunAndVerify(self, flag_value, expected_output, other_flag): argument
138 if expected_output is not None:
139 self.assert_(output == expected_output, msg)
147 expected_output=None,
154 expected_output=None,
157 expected_output=EXPECTED_OUTPUT_NO_FILTER,
164 expected_output=EXPECTED_OUTPUT_NO_FILTER,
172 expected_output=EXPECTED_OUTPUT_FILTER_FOO,
/external/tensorflow/tensorflow/python/ops/
Dquantized_conv_ops_test.py128 expected_output = [
137 expected=expected_output)
161 expected_output = [2271.0, 2367.0, 2463.0, 2901.0, 3033.0, 3165.0]
167 expected=expected_output)
172 expected_output = [
181 expected=expected_output)
185 expected_output = [2271.0, 2367.0, 2463.0]
191 expected=expected_output)
195 expected_output = [2271.0, 2367.0, 2463.0, 1230.0, 1305.0, 1380.0]
201 expected=expected_output)
Dquantized_ops_test.py35 expected_output = [1, 1, 2, 127, 255, 255]
45 self.assertArrayNear(expected_output, value.output, 0.1)
48 expected_output = [1.0, 2.0, 4.0, 8.0, 16.0, 255.0]
56 self.assertArrayNear(expected_output, value, 0.1)
/external/pdfium/core/fxcrt/
Dfx_system_unittest.cpp20 void Check32BitBase16Itoa(int32_t input, const char* expected_output) { in Check32BitBase16Itoa() argument
25 EXPECT_STREQ(expected_output, buf); in Check32BitBase16Itoa()
29 void Check32BitBase10Itoa(int32_t input, const char* expected_output) { in Check32BitBase10Itoa() argument
34 EXPECT_STREQ(expected_output, buf); in Check32BitBase10Itoa()
38 void Check32BitBase2Itoa(int32_t input, const char* expected_output) { in Check32BitBase2Itoa() argument
43 EXPECT_STREQ(expected_output, buf); in Check32BitBase2Itoa()
47 void Check64BitBase16Itoa(int64_t input, const char* expected_output) { in Check64BitBase16Itoa() argument
52 EXPECT_STREQ(expected_output, buf); in Check64BitBase16Itoa()
56 void Check64BitBase10Itoa(int64_t input, const char* expected_output) { in Check64BitBase10Itoa() argument
61 EXPECT_STREQ(expected_output, buf); in Check64BitBase10Itoa()
[all …]
/external/libvpx/libvpx/test/
Dpp_filter_test.cc181 void RunComparison(const unsigned char *expected_output, unsigned char *src_c, in RunComparison() argument
185 ASSERT_EQ(expected_output[c], src_c[c]) in RunComparison()
193 int filter_level, const unsigned char *expected_output) { in RunFilterLevel() argument
196 RunComparison(expected_output, s, rows, cols, src_width); in RunFilterLevel()
209 Buffer<uint8_t> expected_output = Buffer<uint8_t>(cols, rows, 0); in TEST_P() local
210 ASSERT_TRUE(expected_output.Init()); in TEST_P()
211 SetCols(expected_output.TopLeftPixel(), rows, cols, expected_output.stride()); in TEST_P()
214 expected_output.TopLeftPixel()); in TEST_P()
295 void RunComparison(const unsigned char *expected_output, unsigned char *src_c, in RunComparison() argument
299 ASSERT_EQ(expected_output[r * rows + c], src_c[c]) in RunComparison()
[all …]
/external/autotest/client/deps/fakegudev/src/
Dtest-gudev.sh9 expected_output=`mktemp`
14 diff -u --ignore-all-space --ignore-blank-lines ${expected_output} \
36 cat $1 > ${expected_output}
39 echo Parent device:>> ${expected_output}
40 cat $2 >> ${expected_output}
124 cat test_files/fake.output > ${expected_output}
125 cat test_files/fake.output >> ${expected_output}
126 cat test_files/fake.output >> ${expected_output}
/external/curl/tests/unit/
Dunit1604.c76 const char *expected_output; member
307 ((!output && !data[i].expected_output) ||
308 (output && data[i].expected_output &&
309 !strcmp(output, data[i].expected_output)))) { /* OK */
335 (data[i].expected_output ? data[i].expected_output : "(null)"),
/external/tensorflow/tensorflow/python/debug/lib/
Ddebug_graph_reconstruction_test.py85 expected_output=None): argument
90 if expected_output is not None:
91 self.assertAllClose(expected_output, output)
99 if expected_output is not None:
100 self.assertAllClose(expected_output, output)
131 sess, w, expected_output=[42.0])
143 sess, c, expected_output=400.0)
155 sess, cond, expected_output=21.0)
/external/python/cpython2/Lib/test/
Dtest_profile.py17 expected_output = {} variable in ProfileTest
39 self.assertEqual(results[i+1], self.expected_output[method],
95 ProfileTest.expected_output['print_stats'] = """\
121 ProfileTest.expected_output['print_callers'] = """\
150 ProfileTest.expected_output['print_callees'] = """\
Dtest_cprofile.py41 CProfileTest.expected_output['print_stats'] = """\
65 CProfileTest.expected_output['print_callers'] = """\
93 CProfileTest.expected_output['print_callees'] = """\
/external/tensorflow/tensorflow/contrib/predictor/
Dsaved_model_predictor_test.py64 expected_output = op(x, y)
78 expected_output, output, places=3,
89 expected_output = op(x, y)
121 expected_output, output, places=3,
131 expected_output = op(x, y)
148 expected_output, output, places=3,
/external/v8/tools/clang/translation_unit/
Dtest_translation_unit.py65 expected_output = actual_output = None
67 expected_output = f.readlines()
71 for expected_line, actual_line in zip(expected_output, actual_output):
82 for line in difflib.unified_diff(expected_output, actual_output,
/external/tensorflow/tensorflow/python/keras/_impl/keras/
Dtesting_utils.py55 input_data=None, expected_output=None, argument
135 if expected_output is not None:
136 np.testing.assert_allclose(actual_output, expected_output, rtol=1e-3)
172 if expected_output is not None:
173 np.testing.assert_allclose(actual_output, expected_output, rtol=1e-3)

123