/external/tensorflow/tensorflow/compiler/tests/ |
D | conv2d_test.py | 80 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 …]
|
D | pooling_ops_3d_test.py | 78 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 …]
|
D | pooling_ops_test.py | 128 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/ |
D | struct_unittest.cc | 245 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/ |
D | edit_distance_op_test.py | 44 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 …]
|
D | conv_ops_3d_test.py | 121 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 …]
|
D | pooling_ops_3d_test.py | 96 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 …]
|
D | parse_single_example_op_test.py | 138 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 …]
|
D | conv_ops_test.py | 350 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 …]
|
D | parsing_ops_test.py | 139 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/ |
D | spectrogram_test.cc | 240 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/ |
D | gtest_list_tests_unittest.py | 103 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/ |
D | gtest_list_tests_unittest.py | 103 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/ |
D | quantized_conv_ops_test.py | 128 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)
|
D | quantized_ops_test.py | 35 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/ |
D | fx_system_unittest.cpp | 20 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/ |
D | pp_filter_test.cc | 181 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/ |
D | test-gudev.sh | 9 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/ |
D | unit1604.c | 76 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/ |
D | debug_graph_reconstruction_test.py | 85 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/ |
D | test_profile.py | 17 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'] = """\
|
D | test_cprofile.py | 41 CProfileTest.expected_output['print_stats'] = """\ 65 CProfileTest.expected_output['print_callers'] = """\ 93 CProfileTest.expected_output['print_callees'] = """\
|
/external/tensorflow/tensorflow/contrib/predictor/ |
D | saved_model_predictor_test.py | 64 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/ |
D | test_translation_unit.py | 65 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/ |
D | testing_utils.py | 55 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)
|