Home
last modified time | relevance | path

Searched refs:expected_output (Results 1 - 25 of 55) sorted by relevance

123

/third_party/ffmpeg/libavfilter/tests/
H A Ddnn-layer-pad.c52 float expected_output[1*9*9*3] = { in test_with_mode_symmetric() local
85 for (int i = 0; i < sizeof(expected_output) / sizeof(float); i++) { in test_with_mode_symmetric()
86 if (fabs(output[i] - expected_output[i]) > EPSON) { in test_with_mode_symmetric()
87 printf("at index %d, output: %f, expected_output: %f\n", i, output[i], expected_output[i]); in test_with_mode_symmetric()
122 float expected_output[6*2*2*3] = { in test_with_mode_reflect() local
150 for (int i = 0; i < sizeof(expected_output) / sizeof(float); i++) { in test_with_mode_reflect()
151 if (fabs(output[i] - expected_output[i]) > EPSON) { in test_with_mode_reflect()
152 printf("at index %d, output: %f, expected_output: %f\n", i, output[i], expected_output[ in test_with_mode_reflect()
187 float expected_output[1*3*2*6] = { test_with_mode_constant() local
[all...]
H A Ddnn-layer-avgpool.c69 float expected_output[] = { in test_with_same() local
97 for (int i = 0; i < sizeof(expected_output) / sizeof(float); ++i) { in test_with_same()
98 if (fabs(output[i] - expected_output[i]) > EPSON) { in test_with_same()
99 printf("at index %d, output: %f, expected_output: %f\n", i, output[i], expected_output[i]); in test_with_same()
152 float expected_output[1*4*5*3] = { in test_with_valid() local
177 for (int i = 0; i < sizeof(expected_output) / sizeof(float); ++i) { in test_with_valid()
178 if (fabs(output[i] - expected_output[i]) > EPSON) { in test_with_valid()
179 printf("at index %d, output: %f, expected_output: %f\n", i, output[i], expected_output[ in test_with_valid()
[all...]
H A Ddnn-layer-conv2d.c80 float expected_output[1*5*6*2] = { in test_with_same_dilate() local
124 for (int i = 0; i < sizeof(expected_output) / sizeof(float); i++) { in test_with_same_dilate()
125 if (fabs(output[i] - expected_output[i]) > EPSON) { in test_with_same_dilate()
126 printf("at index %d, output: %f, expected_output: %f\n", i, output[i], expected_output[i]); in test_with_same_dilate()
188 float expected_output[1*3*4*2] = { in test_with_valid() local
228 for (int i = 0; i < sizeof(expected_output) / sizeof(float); i++) { in test_with_valid()
229 if (fabs(output[i] - expected_output[i]) > EPSON) { in test_with_valid()
230 printf("at index %d, output: %f, expected_output: %f\n", i, output[i], expected_output[ in test_with_valid()
[all...]
H A Ddnn-layer-mathbinary.c78 float expected_output = get_expected(params.v, input[i], op); in test_broadcast_input0() local
79 if (fabs(output[i] - expected_output) > EPSON) { in test_broadcast_input0()
80 printf("op %d, at index %d, output: %f, expected_output: %f (%s:%d)\n", in test_broadcast_input0()
81 op, i, output[i], expected_output, __FILE__, __LINE__); in test_broadcast_input0()
118 float expected_output = get_expected(input[i], params.v, op); in test_broadcast_input1() local
119 if (fabs(output[i] - expected_output) > EPSON) { in test_broadcast_input1()
120 printf("op %d, at index %d, output: %f, expected_output: %f (%s:%d)\n", in test_broadcast_input1()
121 op, i, output[i], expected_output, __FILE__, __LINE__); in test_broadcast_input1()
166 float expected_output = get_expected(input0[i], input1[i], op); in test_no_broadcast() local
167 if (fabs(output[i] - expected_output) > EPSO in test_no_broadcast()
[all...]
H A Ddnn-layer-dense.c79 float expected_output[1*5*6*3] = { in test() local
113 for (int i = 0; i < sizeof(expected_output) / sizeof(float); i++) { in test()
114 if (fabs(output[i] - expected_output[i]) > EPSON) { in test()
115 printf("at index %d, output: %f, expected_output: %f\n", i, output[i], expected_output[i]); in test()
H A Ddnn-layer-depth2space.c65 float expected_output[1*10*6*1] = { in test() local
87 for (int i = 0; i < sizeof(expected_output) / sizeof(float); i++) { in test()
88 if (fabs(output[i] - expected_output[i]) > EPSON) { in test()
89 printf("at index %d, output: %f, expected_output: %f\n", i, output[i], expected_output[i]); in test()
H A Ddnn-layer-maximum.c52 float expected_output = input[i] > params.val.y ? input[i] : params.val.y; in test() local
53 if (fabs(output[i] - expected_output) > EPSON) { in test()
54 printf("at index %d, output: %f, expected_output: %f\n", i, output[i], expected_output); in test()
H A Ddnn-layer-mathunary.c96 float expected_output = get_expected(input[i], op); in test() local
98 int expected_nan = isnan(expected_output); in test()
99 if ((!output_nan && !expected_nan && fabs(output[i] - expected_output) > EPS) || in test()
101 printf("at index %d, output: %f, expected_output: %f\n", i, output[i], expected_output); in test()
/third_party/ffmpeg/tests/dnn/
H A Ddnn-layer-pad-test.c52 float expected_output[1*9*9*3] = { in test_with_mode_symmetric() local
85 for (int i = 0; i < sizeof(expected_output) / sizeof(float); i++) { in test_with_mode_symmetric()
86 if (fabs(output[i] - expected_output[i]) > EPSON) { in test_with_mode_symmetric()
87 printf("at index %d, output: %f, expected_output: %f\n", i, output[i], expected_output[i]); in test_with_mode_symmetric()
122 float expected_output[6*2*2*3] = { in test_with_mode_reflect() local
150 for (int i = 0; i < sizeof(expected_output) / sizeof(float); i++) { in test_with_mode_reflect()
151 if (fabs(output[i] - expected_output[i]) > EPSON) { in test_with_mode_reflect()
152 printf("at index %d, output: %f, expected_output: %f\n", i, output[i], expected_output[ in test_with_mode_reflect()
187 float expected_output[1*3*2*6] = { test_with_mode_constant() local
[all...]
H A Ddnn-layer-avgpool-test.c69 float expected_output[] = { in test_with_same() local
97 for (int i = 0; i < sizeof(expected_output) / sizeof(float); ++i) { in test_with_same()
98 if (fabs(output[i] - expected_output[i]) > EPSON) { in test_with_same()
99 printf("at index %d, output: %f, expected_output: %f\n", i, output[i], expected_output[i]); in test_with_same()
152 float expected_output[1*4*5*3] = { in test_with_valid() local
177 for (int i = 0; i < sizeof(expected_output) / sizeof(float); ++i) { in test_with_valid()
178 if (fabs(output[i] - expected_output[i]) > EPSON) { in test_with_valid()
179 printf("at index %d, output: %f, expected_output: %f\n", i, output[i], expected_output[ in test_with_valid()
[all...]
H A Ddnn-layer-conv2d-test.c80 float expected_output[1*5*6*2] = { in test_with_same_dilate() local
124 for (int i = 0; i < sizeof(expected_output) / sizeof(float); i++) { in test_with_same_dilate()
125 if (fabs(output[i] - expected_output[i]) > EPSON) { in test_with_same_dilate()
126 printf("at index %d, output: %f, expected_output: %f\n", i, output[i], expected_output[i]); in test_with_same_dilate()
188 float expected_output[1*3*4*2] = { in test_with_valid() local
228 for (int i = 0; i < sizeof(expected_output) / sizeof(float); i++) { in test_with_valid()
229 if (fabs(output[i] - expected_output[i]) > EPSON) { in test_with_valid()
230 printf("at index %d, output: %f, expected_output: %f\n", i, output[i], expected_output[ in test_with_valid()
[all...]
H A Ddnn-layer-mathbinary-test.c78 float expected_output = get_expected(params.v, input[i], op); in test_broadcast_input0() local
79 if (fabs(output[i] - expected_output) > EPSON) { in test_broadcast_input0()
80 printf("op %d, at index %d, output: %f, expected_output: %f (%s:%d)\n", in test_broadcast_input0()
81 op, i, output[i], expected_output, __FILE__, __LINE__); in test_broadcast_input0()
118 float expected_output = get_expected(input[i], params.v, op); in test_broadcast_input1() local
119 if (fabs(output[i] - expected_output) > EPSON) { in test_broadcast_input1()
120 printf("op %d, at index %d, output: %f, expected_output: %f (%s:%d)\n", in test_broadcast_input1()
121 op, i, output[i], expected_output, __FILE__, __LINE__); in test_broadcast_input1()
166 float expected_output = get_expected(input0[i], input1[i], op); in test_no_broadcast() local
167 if (fabs(output[i] - expected_output) > EPSO in test_no_broadcast()
[all...]
H A Ddnn-layer-depth2space-test.c65 float expected_output[1*10*6*1] = { in test() local
87 for (int i = 0; i < sizeof(expected_output) / sizeof(float); i++) { in test()
88 if (fabs(output[i] - expected_output[i]) > EPSON) { in test()
89 printf("at index %d, output: %f, expected_output: %f\n", i, output[i], expected_output[i]); in test()
H A Ddnn-layer-dense-test.c79 float expected_output[1*5*6*3] = { in test() local
113 for (int i = 0; i < sizeof(expected_output) / sizeof(float); i++) { in test()
114 if (fabs(output[i] - expected_output[i]) > EPSON) { in test()
115 printf("at index %d, output: %f, expected_output: %f\n", i, output[i], expected_output[i]); in test()
H A Ddnn-layer-maximum-test.c52 float expected_output = input[i] > params.val.y ? input[i] : params.val.y; in test() local
53 if (fabs(output[i] - expected_output) > EPSON) { in test()
54 printf("at index %d, output: %f, expected_output: %f\n", i, output[i], expected_output); in test()
H A Ddnn-layer-mathunary-test.c94 float expected_output = get_expected(input[i], op); in test() local
96 int expected_nan = isnan(expected_output); in test()
97 if ((!output_nan && !expected_nan && fabs(output[i] - expected_output) > EPS) || in test()
99 printf("at index %d, output: %f, expected_output: %f\n", i, output[i], expected_output); in test()
/third_party/curl/tests/unit/
H A Dunit1604.c82 const char *expected_output; member
313 ((!output && !data[i].expected_output) ||
314 (output && data[i].expected_output &&
315 !strcmp(output, data[i].expected_output)))) { /* OK */
341 (data[i].expected_output ? data[i].expected_output : "(null)"),
/third_party/node/deps/v8/tools/clusterfuzz/foozzie/
H A Dv8_foozzie_test.py284 expected_output = f.read()
292 self.assertEqual(expected_output, cut_verbose_output(e.output, 2))
296 expected_output = f.read()
301 self.assertEqual(expected_output, e.output)
320 expected_output = f.read()
328 self.assertEqual(expected_output, cut_verbose_output(e.output, 3))
335 expected_output = f.read()
343 self.assertEqual(expected_output, cut_verbose_output(e.output, 3))
/third_party/benchmark/tools/gbench/
H A Dreport.py477 expected_output = [
606 self.assertEqual(len(self.json_diff_report), len(expected_output))
608 self.json_diff_report, expected_output):
655 expected_output = [
691 self.assertEqual(len(self.json_diff_report), len(expected_output))
693 self.json_diff_report, expected_output):
819 expected_output = [
895 self.assertEqual(len(self.json_diff_report), len(expected_output))
897 self.json_diff_report, expected_output):
978 expected_output
[all...]
/third_party/openssl/demos/mac/
H A Dsiphash.c36 static const unsigned char expected_output[] = { variable
111 if (out_len != sizeof(expected_output)) { in main()
116 if (CRYPTO_memcmp(expected_output, out, sizeof(expected_output)) != 0) { in main()
H A Dpoly1305.c74 static const unsigned char expected_output[] = { variable
189 if (out_len != sizeof(expected_output)) { in main()
194 if (CRYPTO_memcmp(expected_output, out, sizeof(expected_output)) != 0) { in main()
H A Dcmac-aes256.c56 static const unsigned char expected_output[] = { variable
134 if (out_len != sizeof(expected_output)) { in main()
139 if (CRYPTO_memcmp(expected_output, out, sizeof(expected_output)) != 0) { in main()
H A Dgmac.c47 static const unsigned char expected_output[] = { variable
127 if (out_len != sizeof(expected_output)) { in main()
132 if (CRYPTO_memcmp(expected_output, out, sizeof(expected_output)) != 0) { in main()
/third_party/googletest/googletest/test/
H A Dgtest_list_output_unittest.py268 def _TestOutput(self, test_format, expected_output):
271 expected_lines = expected_output.splitlines()
280 'on line %d' % (actual, expected_output, line_count)))
/third_party/protobuf/src/google/protobuf/compiler/ruby/
H A Druby_generator_unittest.cc99 string expected_output; in RubyTest() local
102 &expected_output, in RubyTest()
104 EXPECT_EQ(expected_output, output); in RubyTest()

Completed in 216 milliseconds

123