Home
last modified time | relevance | path

Searched defs:output_data (Results 1 – 25 of 205) sorted by relevance

123456789

/third_party/mindspore/mindspore/lite/test/ut/src/runtime/kernel/opencl/
Dreshape_tests.cc35 float output_data[] = {0, 1, 2, 3, 4, 5, 6}; variable
47 float output_data[] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}; variable
59 float output_data[] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15}; variable
71 …float output_data[] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 2… variable
83 float output_data[] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19}; variable
98 float output_data[] = { variable
122 float output_data[] = { variable
145 float output_data[] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, variable
163 float output_data[] = { variable
Dspace_to_depth_tests.cc46 float output_data[] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16}; in TEST_F() local
61 …float output_data[] = {0, 1, 2, 3, 4, 5, 6, 7, 16, 17, 18, 19, 20, 21, 22, 23, 8, 9, 10,… in TEST_F() local
83 …float output_data[] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 24, 25, 26, … in TEST_F() local
103 float output_data[] = {0, 1, 2, 3}; in TEST_F() local
118 float output_data[] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}; in TEST_F() local
132 float output_data[] = {0, 1, 2, 3, 4, 5, 12, 13, 14, 15, 16, 17, 6, 7, 8, 9, in TEST_F() local
157 float output_data[] = { in TEST_F() local
183 …float output_data[] = {0, 1, 2, 3, 4, 5, 6, 7, 16, 17, 18, 19, 20, 21, 22, 23, 8, 9, 10,… in TEST_F() local
200 float output_data[] = {0, 1, 2, 3, 4, 5, 6, 7, 16, 17, 18, 19, 20, 21, 22, 23, in TEST_F() local
217 float output_data[] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 36, 37, 38, 39, 40, 41, in TEST_F() local
[all …]
Dsoftmax_tests.cc37 float output_data[] = {0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1}; variable
51 float output_data[] = {0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2}; variable
65 float output_data[] = {0.5, 0.5}; variable
79 float output_data[] = {0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, variable
94 float output_data[] = {0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, variable
109 float output_data[] = {0.5, 0.5, 0.5, 0.5}; variable
Done_hot_tests.cc42 float output_data[] = {-1, -1, -1, 1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1, -1}; in TEST_F() local
62 …float output_data[] = {-1, -1, -1, -1, -1, -1, -1, -1, 1, -1, -1, -1, -1, -1, 1, -1, -1, -1, -1, -… in TEST_F() local
83 float output_data[] = {-1, -1, -1, -1, 1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, in TEST_F() local
106 …float output_data[] = {-1, -1, 1, -1, -1, -1, -1, -1, -1, -1, 1, -1, 1, -1, -1, -1, -1, -1, -1,… in TEST_F() local
129 float output_data[] = {0, 0, 0, 0, 2, 0, 0, 2, 0, 0, 2, 0, 0, 0, 0, 0, 0, 2, 0, 0}; in TEST_F() local
150 …float output_data[] = {0, 0, 2, 2, 0, 0, 0, 0, 0, 0, 0, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 0, … in TEST_F() local
172 float output_data[] = {0, 0, 0, 2}; in TEST_F() local
193 float output_data[] = {-1, 1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1, -1, -1, -1, in TEST_F() local
217 float output_data[] = {2, -2, -2, 2, -2, -2, 2, 2, -2, -2, 2, -2, -2, -2, -2, -2, -2, -2, in TEST_F() local
239 float output_data[] = {-2, -2, -2, -2, -2, 2, 2, -2, -2, -2, -2, 2, -2, -2, -2, -2}; in TEST_F() local
[all …]
Dargminmax_tests.cc46 float output_data[] = {0, 2, 1, 0, 2, 1, 0, 0, 2, 1, 2, 2, 0, 0, 2, 2}; in TEST_F() local
61 float output_data[] = {100, 25, 40, 50, 18, 80, 34, 35, 55, 20, 5, 15, 11, 12, 15, 16}; in TEST_F() local
77 float output_data[] = {0, 1, 0, 1, 0, 1, 1, 2, 2, 2, 1, 2, 2, 1, 1, 0, 2, 1, 0, 0, 0, 1, 1, 0}; in TEST_F() local
93 float output_data[] = {100, 12, 200, 34, 50, 36, 11, 6, 17, 10, 35, 30, in TEST_F() local
111 float output_data[] = {1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0}; in TEST_F() local
128 …float output_data[] = {30, 45, 30, 50, 90, 20, 20, 25, 40, 50, 30, 45, 30, 50, 90, 20, 20, 25, 40,… in TEST_F() local
146 float output_data[] = {2, 2, 0, 2, 0, 1, 0, 2, 0, 1, 2, 2, 0, 2, 0, 1, 0, 2, 0, 1, in TEST_F() local
164 float output_data[] = {4, 3, 4, 0, 3, 1, 4, 3, 4, 0, 3, 1, 4, 3, 4, 0, 3, 1, 4, 3, 4, 0, 3, 1}; in TEST_F() local
181 float output_data[] = {90, 40, 50, 20, 50, 45, 90, 40, 50, 20, 50, 45, in TEST_F() local
197 float output_data[] = {1, 0, 0, 0, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0}; in TEST_F() local
[all …]
Darithmetic_tests.cc64 float output_data[] = {2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24}; in TEST_F() local
79 float output_data[] = {2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24}; in TEST_F() local
93 float output_data[] = {0, 0, 0, 3, 3, 3, 6, 6, 6, 6, 6, 6}; in TEST_F() local
108 float output_data[] = {0, 0, 0, -3, -3, -3, -6, -6, -6, -9, -9, -9}; in TEST_F() local
122 …float output_data[] = {0, 0, 0, -3, -3, -3, -6, -6, -6, -9, -9, -9, 0, 0, 0, -3, -3, -3, -6, -6, -… in TEST_F() local
136 float output_data[] = {0.100000, 1.900000, 1.123000, 0.268000, 0.123400, 2.968800, in TEST_F() local
151 float output_data[] = {0.100000, 1.900000, 1.123000, 0.268000, 0.123400, 2.968800, in TEST_F() local
166 float output_data[] = {1, 2, 3, 2, 2.5, 3, 7, 8, 9, 5, 5.5, 6}; in TEST_F() local
Dpad_tests.cc35 float output_data[] = {2, 2, 2, 1, 1, 1, 1, 2, 2}; variable
46 float output_data[] = {10, 10, 10, 10, 10, 10, 10, 10, 10, 1, 1, 1, 1, 1, 10, 10, variable
60 float output_data[300] = { variable
222 auto output_data = std::get<4>(case_).data(); in TEST_F() local
Dstrided_slice_tests.cc41 float output_data[] = {3, 6, 9, 12, 15, 18, 21, 24, 27, 30, 33}; variable
58 float output_data[] = {11, 14}; variable
75 float output_data[] = {11, 14}; variable
175 float output_data[] = {13, 14, 31, 32}; variable
192 float output_data[] = {18, 20, 21, 23, 27, 29, 30, 32}; variable
209 float output_data[] = {4, 3, 2}; in TEST_F() local
401 auto output_data = std::get<4>(case_).data(); in TEST_F() local
421 float output_data[] = {10.2, 10.4, 20.2, 20.4}; in TEST_F() local
Dconv2d_tests.cc40 float *output_data, ActType act_type, bool fp16_enable, float atol = 1e-9) { in TestMain_Conv2D()
62 float output_data[] = {1, 1, 5, 5, 9, 9, -13, -13}; in TEST_F() local
80 float output_data[] = {1, 1, 5, 5, 9, 9, 13, 13}; in TEST_F() local
91 float output_data[] = {2.5, 3.5, 8.5, 17.5, 14.5, 31.5, 20.5, 45.5}; in TEST_F() local
102 float output_data[] = {28, 18, 22, 13}; in TEST_F() local
113 float output_data[] = {168.5, 391.5, 80.5, 223.5, 60.5, 235.5, 20.5, 123.5}; in TEST_F() local
124 float output_data[] = {168.5, 391.5, 80.5, 223.5, 60.5, 235.5, 20.5, 123.5, in TEST_F() local
Dreduce_tests.cc45 float output_data[] = {4.5, 5.5, 6.5f}; in TEST_F() local
60 float output_data[] = {18, 22, 26}; in TEST_F() local
75 float output_data[] = {1.5, 5.5, 9.5f}; in TEST_F() local
90 float output_data[] = {6, 22, 38}; in TEST_F() local
105 float output_data[] = {0.5, 2.5, 4.5, 6.5, 8.5, 10.5}; in TEST_F() local
Dactivation_tests.cc39 float output_data[] = {0, 1, 2, 3, 0, 0, 3, 0, 5, 0, 7, 9}; in TEST_F() local
50 float output_data[] = {0, 1, 2, 3, 0, 0, 3, 0, 5, 0, 6, 6}; in TEST_F() local
65 …float output_data[] = {0.9166667, 1, 0, 0, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0… in TEST_F() local
83 float output_data[] = {2.29166667, 6, 0, 0, 5.9, 6.5, 0, 7.4, 5.9, 6.5, 0, 7.4, 7.5, 6, 0, 0, in TEST_F() local
Dgather_tests.cc39 float output_data[] = {1, 3, 5, 7, 9}; in TEST_F() local
58 float output_data[] = {1}; in TEST_F() local
77 float output_data[] = {1}; in TEST_F() local
98 float output_data[] = {16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, in TEST_F() local
129 float output_data[] = {16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, in TEST_F() local
161 …float output_data[] = {4, 5, 6, 7, 12, 13, 14, 15, 20, 21, 22, 23, 28, 29, 30, 31, 36, 37, 38,… in TEST_F() local
184 …float output_data[] = {4, 5, 6, 7, 12, 13, 14, 15, 20, 21, 22, 23, 28, 29, 30, 31, 36, 37, 38,… in TEST_F() local
207 …float output_data[] = {1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 33, 35, 37,… in TEST_F() local
230 …float output_data[] = {1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 33, 35, 37,… in TEST_F() local
Dtranspose_tests.cc45 float output_data[] = {0, 3, 6, 9, 1, 4, 7, 10, 2, 5, 8, 11}; in TEST_F() local
63 float output_data[] = {0, 6, 1, 7, 2, 8, 3, 9, 4, 10, 5, 11}; in TEST_F() local
81 …float output_data[] = {0, 1, 2, 3, 12, 13, 14, 15, 4, 5, 6, 7, 16, 17, 18, 19, 8, 9, 10, 11, 20, 2… in TEST_F() local
99 float output_data[] = {0, 3, 1, 4, 2, 5}; in TEST_F() local
118 float output_data[] = {0, 1, 2, 3, 4, 15, 16, 17, 18, 19, 5, 6, 7, 8, 9, in TEST_F() local
Dconcat_tests.cc39 …float output_data[] = {0.75, 0.06, 0.74, 0.30, 0.9, 0.59, 0.03, 0.37, 0.5, 0.6, 0.74, 0.23, 0.46, … in TEST_F() local
54 float output_data[] = {0.75, 0.5}; in TEST_F() local
75 float output_data[] = { in TEST_F() local
140 float output_data[] = { in TEST_F() local
200 float output_data[] = {0.75, 0.06, 0.74, 0.30, 0.9, 0.59, 0.13, 0.16, 0.5, 0.6, 0.74, 0.23, in TEST_F() local
230 float output_data[] = { in TEST_F() local
256 float output_data[] = {0.75, 0.06, 0.74, 0.30, 0.9, 0.59, 0.5, 0.6, 0.74, 0.23, 0.46, in TEST_F() local
276 …float output_data[] = {0.75, 0.06, 0.74, 0.30, 0.9, 0.59, 0.5, 0.6, 0.74, 0.23, 0.46, 0.69, 0.4… in TEST_F() local
301 …float output_data[] = {0.75, 0.06, 0.74, 0.30, 0.9, 0.59, 0.5, 0.6, 0.74, 0.23, 0.46, 0.69, 0.4… in TEST_F() local
330 …float output_data[] = {0.75, 0.06, 0.74, 0.30, 0.9, 0.59, 0.5, 0.6, 0.74, 0.23, 0.46, 0.69, 0.4… in TEST_F() local
Dresize_tests.cc47 float output_data[] = {0, 0.5, 1, 1, 1, 1.5, 2, 2, 2, 2.5, 3, 3, 2, 2.5, 3, 3}; in TEST_F() local
63 float output_data[] = {0, 0.5, 1, 1, 1.5, 2, 2, 2.5, 3}; in TEST_F() local
79 float output_data[] = {0, 0, 1, 1, 0, 0, 1, 1, 2, 2, 3, 3, 2, 2, 3, 3}; in TEST_F() local
95 float output_data[] = {0, 0.5, 1, 1, 1, 1.5, 2, 2, 2, 2.5, 3, 3, 2, 2.5, 3, 3, in TEST_F() local
112 float output_data[] = {0, 0.5, 1, 1, 1.5, 2, 2, 2.5, 3, 0, 0.5, 1, 1, 1.5, 2, 2, 2.5, 3}; in TEST_F() local
128 float output_data[] = {0, 0, 1, 1, 0, 0, 1, 1, 2, 2, 3, 3, 2, 2, 3, 3, in TEST_F() local
Dsparse_to_dense_tests.cc41 …float output_data[] = {1, 2, 3, 4, 5, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, … in TEST_F() local
64 …float output_data[] = {6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 0, … in TEST_F() local
87 …float output_data[] = {1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, … in TEST_F() local
110 float output_data[] = {1, 0, 2, 3, 0, 0, 4, 5, 0, 6}; in TEST_F() local
132 float output_data[] = {6, 6, 6, 6, 6, 6, 0, 0, 0, 6}; in TEST_F() local
154 float output_data[] = {2, 1, 2, 1, 1, 1, 1, 1, 2, 2}; in TEST_F() local
176 float output_data[] = {2, 1, 2, 2, 3, 4, 5, 6, 2, 2}; in TEST_F() local
Dmatmul_tests.cc43 float output_data[] = {10, 10, 10}; variable
64 float output_data[] = {15, 40, 65, 15, 40, 65, 90, 115, 140, 90, 115, 140}; variable
84 float output_data[] = {15, 40, 65, 15, 40, 65, 90, 115, 140, 90, 115, 140}; variable
104 float output_data[] = {15, 40, 65, 15, 40, 65, 90, 115, 140, 90, 115, 140}; in TEST_F() local
124 float output_data[] = {35, 40, 45, 35, 40, 45, 110, 115, 120, 110, 115, 120}; in TEST_F() local
/third_party/mindspore/mindspore/lite/test/ut/src/runtime/kernel/arm/fp32/
Dresize_nearest_neighbor_fp32_tests.cc51 … float *input_data, float *output_data, const bool align_corners, in Prepare()
76 float output_data[1] = {0}; in TEST_F() local
93 float output_data[1] = {0}; in TEST_F() local
110 float output_data[2] = {0}; in TEST_F() local
127 float output_data[2] = {0}; in TEST_F() local
144 float output_data[4] = {0}; in TEST_F() local
161 float output_data[4] = {0}; in TEST_F() local
178 float output_data[4] = {0}; in TEST_F() local
195 float output_data[8] = {0}; in TEST_F() local
212 float output_data[8] = {0}; in TEST_F() local
[all …]
Dresize_bilinear_fp32_tests.cc54 … float *input_data, float *output_data, const bool align_corners, in Prepare()
81 float output_data[1] = {0}; in TEST_F() local
98 float output_data[1] = {0}; in TEST_F() local
115 float output_data[2] = {0}; in TEST_F() local
132 float output_data[2] = {0}; in TEST_F() local
149 float output_data[4] = {0}; in TEST_F() local
166 float output_data[4] = {0}; in TEST_F() local
183 float output_data[4] = {0}; in TEST_F() local
200 float output_data[8] = {0}; in TEST_F() local
217 float output_data[8] = {0}; in TEST_F() local
[all …]
/third_party/mindspore/mindspore/lite/test/common/
Dcommon_test.h39 void PrintData(const std::string &name, T *output_data, int size) { in PrintData()
63 …static void CompareOutputInt8(int8_t *output_data, int8_t *correct_data, int size, float err_perce… in CompareOutputInt8()
76 …static int CompareOutput(const float *output_data, size_t output_num, const std::string &file_path… in CompareOutput()
86 …static float CompareOutputRelativeData(const float *output_data, const float *correct_data, int da… in CompareOutputRelativeData()
103 static int CompareRelativeOutput(const float *output_data, const std::string &file_path) { in CompareRelativeOutput()
118 static float RelativeOutputError(const float *output_data, const std::string &file_path) { in RelativeOutputError()
/third_party/mindspore/mindspore/lite/test/ut/src/runtime/kernel/arm/int8/
Dreduce_int8_tests.cc66int8_t *output_data, ReduceMode mode, const int *axes, const int num_axes) { in Prepare()
97 int8_t output_data[32] = {0}; in TEST_F() local
122 int8_t output_data[1] = {0}; in TEST_F() local
145 int8_t output_data[32] = {0}; in TEST_F() local
169 int8_t output_data[1] = {0}; in TEST_F() local
191 int8_t output_data[32] = {0}; in TEST_F() local
214 int8_t output_data[1] = {0}; in TEST_F() local
236 int8_t output_data[32] = {0}; in TEST_F() local
259 int8_t output_data[1] = {0}; in TEST_F() local
282 int8_t output_data[32] = {0}; in TEST_F() local
[all …]
Dresize_nearest_neighbor_int8_tests.cc51 … int8_t *input_data, int8_t *output_data, const LiteQuantParam quant_in, in Prepare()
97 int8_t output_data[out_element_num] = {0}; in TEST_F() local
118 int8_t output_data[out_element_num] = {0}; in TEST_F() local
144 int8_t output_data[out_element_num] = {0}; in TEST_F() local
171 int8_t output_data[out_element_num] = {0}; in TEST_F() local
197 int8_t output_data[out_element_num] = {0}; in TEST_F() local
Dresize_bilinear_int8_tests.cc56 … int8_t *input_data, int8_t *output_data, const mindspore::LiteQuantParam quant_in, in Prepare()
90 int8_t output_data[16] = {0}; in TEST_F() local
111 int8_t output_data[160] = {0}; in TEST_F() local
136 int8_t output_data[160] = {0}; in TEST_F() local
162 int8_t output_data[160] = {0}; in TEST_F() local
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/base/
Dtile_base.c21 void DoCopyData(const uint8_t *input_data, uint8_t *output_data, size_t size, size_t data_size, siz… in DoCopyData()
29 int DoTileOneDimension(uint8_t *input_data, uint8_t *output_data, size_t dim, const TileParameter *… in DoTileOneDimension()
46 void Tile(void *input_data, void *output_data, const TileParameter *parameter) { in Tile()
50 void TileSimple(void *input_data, void *output_data, size_t begin, size_t end, const TileParameter … in TileSimple()
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/fp32/
Dcast_fp32.cc63 auto output_data = output->data(); in CastToFp32() local
94 auto output_data = output->data(); in CastToFp16() local
127 auto output_data = output->data(); in CastToOthers() local
161 auto output_data = output->data(); in DoCast() local

123456789