Home
last modified time | relevance | path

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

/cmsis-nn-3.6.0-3.5.0/Source/ConvolutionFunctions/
Darm_convolve_wrapper_s16.c58 const int64_t *bias_data, in arm_convolve_wrapper_s16() argument
74 bias_data, in arm_convolve_wrapper_s16()
88 bias_data, in arm_convolve_wrapper_s16()
101 bias_data, in arm_convolve_wrapper_s16()
Darm_convolve_wrapper_s8.c58 const int32_t *bias_data, in arm_convolve_wrapper_s8() argument
75 bias_data, in arm_convolve_wrapper_s8()
89 bias_data, in arm_convolve_wrapper_s8()
105 bias_data, in arm_convolve_wrapper_s8()
119 bias_data, in arm_convolve_wrapper_s8()
Darm_convolve_1x1_s8_fast.c58 const int32_t *bias_data, in arm_convolve_1x1_s8_fast() argument
78 bias_data, in arm_convolve_1x1_s8_fast()
Darm_convolve_1_x_n_s8.c58 const int32_t *bias_data, in arm_convolve_1_x_n_s8() argument
123 bias_data, in arm_convolve_1_x_n_s8()
141 bias_data, in arm_convolve_1_x_n_s8()
177 bias_data, in arm_convolve_1_x_n_s8()
193 bias_data, in arm_convolve_1_x_n_s8()
Darm_convolve_s8.c58 const int32_t *bias_data, in arm_convolve_s8() argument
145 bias_data, in arm_convolve_s8()
183 bias_data, in arm_convolve_s8()
206 bias_data, in arm_convolve_s8()
230 if (bias_data) in arm_convolve_s8()
232 sum = bias_data[i]; in arm_convolve_s8()
Darm_convolve_fast_s16.c59 const int64_t *bias_data, in arm_convolve_fast_s16() argument
138 bias_data, in arm_convolve_fast_s16()
187 if (bias_data) in arm_convolve_fast_s16()
190 int64_t acc_64 = sum + bias_data[i]; in arm_convolve_fast_s16()
205 (void)bias_data; in arm_convolve_fast_s16()
Darm_convolve_1x1_s8.c58 const int32_t *bias_data, in arm_convolve_1x1_s8() argument
88 bias_data, in arm_convolve_1x1_s8()
Darm_convolve_s16.c59 const int64_t *bias_data, in arm_convolve_s16() argument
126 if (bias_data) in arm_convolve_s16()
128 conv_out_acc += bias_data[i_out_ch]; in arm_convolve_s16()
/cmsis-nn-3.6.0-3.5.0/Tests/UnitTest/TestCases/test_arm_convolve_1_x_n_s8/
Dtest_arm_convolve_1_x_n_s8.c44 const int32_t *bias_data = conv_1_x_n_1_biases; in conv_1_x_n_1_arm_convolve_s8() local
86 bias_data, in conv_1_x_n_1_arm_convolve_s8()
110 bias_data, in conv_1_x_n_1_arm_convolve_s8()
135 const int32_t *bias_data = conv_1_x_n_2_biases; in conv_1_x_n_2_arm_convolve_s8() local
177 bias_data, in conv_1_x_n_2_arm_convolve_s8()
200 bias_data, in conv_1_x_n_2_arm_convolve_s8()
224 const int32_t *bias_data = conv_1_x_n_3_biases; in conv_1_x_n_3_arm_convolve_s8() local
266 bias_data, in conv_1_x_n_3_arm_convolve_s8()
290 bias_data, in conv_1_x_n_3_arm_convolve_s8()
315 const int32_t *bias_data = conv_1_x_n_4_biases; in conv_1_x_n_4_arm_convolve_s8() local
[all …]
/cmsis-nn-3.6.0-3.5.0/Include/
Darm_nnfunctions.h175 const int32_t *bias_data,
259 const int64_t *bias_data,
343 const int32_t *bias_data,
393 const int64_t *bias_data,
434 const int64_t *bias_data,
499 const int32_t *bias_data,
548 const int32_t *bias_data,
597 const int32_t *bias_data,
656 const int32_t *bias_data,
741 const int32_t *bias_data,
[all …]
/cmsis-nn-3.6.0-3.5.0/Tests/UnitTest/TestCases/test_arm_fully_connected_s8/
Dtest_arm_fully_connected_s8.c43 const int32_t *bias_data = fully_connected_biases; in fully_connected_arm_fully_connected_s8() local
79 bias_data, in fully_connected_arm_fully_connected_s8()
104 const int32_t *bias_data = fully_connected_mve_0_biases; in fully_connected_mve_0_arm_fully_connected_s8() local
136 bias_data, in fully_connected_mve_0_arm_fully_connected_s8()
160 const int32_t *bias_data = fully_connected_mve_1_biases; in fully_connected_mve_1_arm_fully_connected_s8() local
192 bias_data, in fully_connected_mve_1_arm_fully_connected_s8()
216 const int32_t *bias_data = fully_connected_null_bias_0_biases; in fully_connected_null_bias_0_arm_fully_connected_s8() local
240 if (bias_data[i] != 0) in fully_connected_null_bias_0_arm_fully_connected_s8()
283 const int32_t *bias_data = fully_connected_out_activation_biases; in fully_connected_out_activation_arm_fully_connected_s8() local
315 bias_data, in fully_connected_out_activation_arm_fully_connected_s8()
/cmsis-nn-3.6.0-3.5.0/Tests/UnitTest/TestCases/test_arm_fully_connected_s16/
Dtest_arm_fully_connected_s16.c41 const int64_t *bias_data = fully_connected_int16_biases; in fully_connected_int16_arm_fully_connected_s16() local
79 bias_data, in fully_connected_int16_arm_fully_connected_s16()
106 const int64_t *bias_data = fully_connected_int16_big_biases; in fully_connected_int16_big_arm_fully_connected_s16() local
144 bias_data, in fully_connected_int16_big_arm_fully_connected_s16()
170 const int64_t *bias_data = fc_int16_slow_biases; in fc_int16_slow_arm_fully_connected_s16() local
208 bias_data, in fc_int16_slow_arm_fully_connected_s16()
/cmsis-nn-3.6.0-3.5.0/Tests/UnitTest/TestCases/test_arm_convolve_s8/
Dtest_arm_convolve_s8.c52 const int32_t *bias_data = basic_biases; in basic_arm_convolve_s8() local
94 bias_data, in basic_arm_convolve_s8()
120 bias_data, in basic_arm_convolve_s8()
146 const int32_t *bias_data = stride2pad1_biases; in stride2pad1_arm_convolve_s8() local
188 bias_data, in stride2pad1_arm_convolve_s8()
213 bias_data, in stride2pad1_arm_convolve_s8()
239 const int32_t *bias_data = conv_2_biases; in conv_2_arm_convolve_s8() local
281 bias_data, in conv_2_arm_convolve_s8()
306 bias_data, in conv_2_arm_convolve_s8()
332 const int32_t *bias_data = conv_3_biases; in conv_3_arm_convolve_s8() local
[all …]
/cmsis-nn-3.6.0-3.5.0/Tests/UnitTest/TestCases/test_arm_depthwise_conv_fast_s16/
Dtest_arm_depthwise_conv_fast_s16.c47 …const int64_t *bias_data = get_bias_s64_address(dw_int16xint8_fast_biases, DW_INT16XINT8_FAST_OUT_… in dw_int16xint8_fast_arm_depthwise_conv_fast_s16() local
90 bias_data, in dw_int16xint8_fast_arm_depthwise_conv_fast_s16()
118 bias_data, in dw_int16xint8_fast_arm_depthwise_conv_fast_s16()
144 …const int64_t *bias_data = get_bias_s64_address(dw_int16xint8_fast_spill_biases, DW_INT16XINT8_FAS… in dw_int16xint8_fast_spill_arm_depthwise_conv_fast_s16() local
187 bias_data, in dw_int16xint8_fast_spill_arm_depthwise_conv_fast_s16()
214 bias_data, in dw_int16xint8_fast_spill_arm_depthwise_conv_fast_s16()
240 …const int64_t *bias_data = get_bias_s64_address(dw_int16xint8_fast_stride_biases, DW_INT16XINT8_FA… in dw_int16xint8_fast_stride_arm_depthwise_conv_fast_s16() local
283 bias_data, in dw_int16xint8_fast_stride_arm_depthwise_conv_fast_s16()
310 bias_data, in dw_int16xint8_fast_stride_arm_depthwise_conv_fast_s16()
336 const int64_t *bias_data = in dw_int16xint8_fast_null_bias_arm_depthwise_conv_fast_s16() local
[all …]
/cmsis-nn-3.6.0-3.5.0/Tests/UnitTest/TestCases/test_arm_depthwise_conv_3x3_s8/
Dtest_arm_depthwise_conv_3x3_s8.c43 const int32_t *bias_data = depthwise_kernel_3x3_biases; in depthwise_kernel_3x3_arm_depthwise_conv_3x3_s8() local
84 bias_data, in depthwise_kernel_3x3_arm_depthwise_conv_3x3_s8()
118 bias_data, in depthwise_kernel_3x3_arm_depthwise_conv_3x3_s8()
145 const int32_t *bias_data = depthwise_kernel_3x3_biases; in depthwise_kernel_3x3_arm_depthwise_conv_3x3_1_s8() local
186 bias_data, in depthwise_kernel_3x3_arm_depthwise_conv_3x3_1_s8()
219 bias_data, in depthwise_kernel_3x3_arm_depthwise_conv_3x3_1_s8()
245 const int32_t *bias_data = depthwise_kernel_3x3_null_bias_biases; in depthwise_kernel_3x3_null_bias_arm_depthwise_conv_3x3_null_bias_s8() local
287 bias_data, in depthwise_kernel_3x3_null_bias_arm_depthwise_conv_3x3_null_bias_s8()
321 bias_data, in depthwise_kernel_3x3_null_bias_arm_depthwise_conv_3x3_null_bias_s8()
348 const int32_t *bias_data = get_bias_address(stride2pad1_biases, STRIDE2PAD1_OUT_CH); in stride2pad1_arm_depthwise_conv_3x3_s8() local
[all …]
/cmsis-nn-3.6.0-3.5.0/Tests/UnitTest/TestCases/test_arm_depthwise_conv_s8/
Dtest_arm_depthwise_conv_s8.c43 const int32_t *bias_data = get_bias_address(depthwise_2_biases, DEPTHWISE_2_OUT_CH); in depthwise_2_arm_depthwise_conv_s8() local
84 bias_data, in depthwise_2_arm_depthwise_conv_s8()
112 bias_data, in depthwise_2_arm_depthwise_conv_s8()
139 …const int32_t *bias_data = get_bias_address(depthwise_mult_batches_biases, DEPTHWISE_MULT_BATCHES_… in depthwise_mult_batches_arm_depthwise_conv_s8() local
180 bias_data, in depthwise_mult_batches_arm_depthwise_conv_s8()
208 bias_data, in depthwise_mult_batches_arm_depthwise_conv_s8()
234 …const int32_t *bias_data = get_bias_address(depthwise_null_bias_1_biases, DEPTHWISE_NULL_BIAS_1_OU… in depthwise_null_bias_1_arm_depthwise_conv_s8() local
275 bias_data, in depthwise_null_bias_1_arm_depthwise_conv_s8()
303 bias_data, in depthwise_null_bias_1_arm_depthwise_conv_s8()
330 … const int32_t *bias_data = get_bias_address(depthwise_dilation_biases, DEPTHWISE_DILATION_OUT_CH); in depthwise_dilation_arm_depthwise_conv_s8() local
[all …]
/cmsis-nn-3.6.0-3.5.0/Tests/UnitTest/TestCases/test_arm_convolve_s16/
Dtest_arm_convolve_s16.c44 const int64_t *bias_data = int16xint8_biases; in int16xint8_arm_convolve_s16() local
85 bias_data, in int16xint8_arm_convolve_s16()
109 bias_data, in int16xint8_arm_convolve_s16()
134 const int64_t *bias_data = requantize_s64_biases; in requantize_s64_arm_convolve_s16() local
175 bias_data, in requantize_s64_arm_convolve_s16()
198 bias_data, in requantize_s64_arm_convolve_s16()
223 const int64_t *bias_data = int16xint8_dilation_1_biases; in int16xint8_dilation_1_arm_convolve_s16() local
264 bias_data, in int16xint8_dilation_1_arm_convolve_s16()
287 bias_data, in int16xint8_dilation_1_arm_convolve_s16()
312 const int64_t *bias_data = int16xint8_dilation_2_biases; in int16xint8_dilation_2_arm_convolve_s16() local
[all …]
/cmsis-nn-3.6.0-3.5.0/Tests/UnitTest/TestCases/test_arm_depthwise_conv_s8_opt/
Dtest_arm_depthwise_conv_s8_opt.c45 const int32_t *bias_data = basic_biases; in basic_arm_depthwise_conv_s8_opt() local
93 bias_data, in basic_arm_depthwise_conv_s8_opt()
121 bias_data, in basic_arm_depthwise_conv_s8_opt()
147 …const int32_t *bias_data = get_bias_address(depthwise_eq_in_out_ch_biases, DEPTHWISE_EQ_IN_OUT_CH_… in depthwise_eq_in_out_ch_arm_depthwise_conv_s8_opt() local
195 bias_data, in depthwise_eq_in_out_ch_arm_depthwise_conv_s8_opt()
222 bias_data, in depthwise_eq_in_out_ch_arm_depthwise_conv_s8_opt()
248 …const int32_t *bias_data = get_bias_address(depthwise_sub_block_biases, DEPTHWISE_SUB_BLOCK_IN_CH); in depthwise_sub_block_arm_depthwise_conv_s8_opt() local
296 bias_data, in depthwise_sub_block_arm_depthwise_conv_s8_opt()
322 bias_data, in depthwise_sub_block_arm_depthwise_conv_s8_opt()
349 …const int32_t *bias_data = get_bias_address(depthwise_out_activation_biases, DEPTHWISE_OUT_ACTIVAT… in depthwise_out_activation_arm_depthwise_conv_s8_opt() local
[all …]
/cmsis-nn-3.6.0-3.5.0/Tests/UnitTest/TestCases/test_arm_convolve_1x1_s8_fast/
Dtest_arm_convolve_1x1_s8_fast.c43 const int32_t *bias_data = kernel1x1_biases; in kernel1x1_arm_convolve_1x1_s8_fast() local
88 bias_data, in kernel1x1_arm_convolve_1x1_s8_fast()
115 const int32_t *bias_data = kernel1x1_stride_x_biases; in kernel1x1_stride_x_arm_convolve_1x1_s8() local
162 bias_data, in kernel1x1_stride_x_arm_convolve_1x1_s8()
182 bias_data, in kernel1x1_stride_x_arm_convolve_1x1_s8()
203 const int32_t *bias_data = kernel1x1_stride_x_y_biases; in kernel1x1_stride_x_y_arm_convolve_1x1_s8() local
251 bias_data, in kernel1x1_stride_x_y_arm_convolve_1x1_s8()
273 bias_data, in kernel1x1_stride_x_y_arm_convolve_1x1_s8()
294 const int32_t *bias_data = kernel1x1_stride_x_y_1_biases; in kernel1x1_stride_x_y_1_arm_convolve_1x1_s8() local
340 bias_data, in kernel1x1_stride_x_y_1_arm_convolve_1x1_s8()
[all …]
/cmsis-nn-3.6.0-3.5.0/Tests/UnitTest/TestCases/test_arm_depthwise_conv_s16/
Dtest_arm_depthwise_conv_s16.c40 const int64_t *bias_data = dw_int16xint8_biases; in dw_int16xint8_arm_depthwise_conv_s16() local
83 bias_data, in dw_int16xint8_arm_depthwise_conv_s16()
111 bias_data, in dw_int16xint8_arm_depthwise_conv_s16()
137 const int64_t *bias_data = dw_int16xint8_dilation_biases; in dw_int16xint8_dilation_arm_depthwise_conv_s16() local
180 bias_data, in dw_int16xint8_dilation_arm_depthwise_conv_s16()
208 bias_data, in dw_int16xint8_dilation_arm_depthwise_conv_s16()
234 const int64_t *bias_data = dw_int16xint8_mult4_biases; in dw_int16xint8_mult4_arm_depthwise_conv_s16() local
277 bias_data, in dw_int16xint8_mult4_arm_depthwise_conv_s16()
305 bias_data, in dw_int16xint8_mult4_arm_depthwise_conv_s16()
/cmsis-nn-3.6.0-3.5.0/Source/SVDFunctions/
Darm_svdf_state_s16_s8.c64 const int32_t *bias_data, in arm_svdf_state_s16_s8() argument
179 if (bias_data) in arm_svdf_state_s16_s8()
188 const int32_t *bi = bias_data; in arm_svdf_state_s16_s8()
204 int32_t sum = bias_data[i]; in arm_svdf_state_s16_s8()
Darm_svdf_s8.c64 const int32_t *bias_data, in arm_svdf_s8() argument
183 if (bias_data) in arm_svdf_s8()
192 const int32_t *bi = bias_data; in arm_svdf_s8()
208 int32_t sum = bias_data[i]; in arm_svdf_s8()
/cmsis-nn-3.6.0-3.5.0/Tests/UnitTest/TestCases/test_arm_convolve_fast_s16/
Dtest_arm_convolve_fast_s16.c41 const int64_t *bias_data = int16xint8_biases; in int16xint8_arm_convolve_fast_s16() local
82 bias_data, in int16xint8_arm_convolve_fast_s16()
107 bias_data, in int16xint8_arm_convolve_fast_s16()
135 const int64_t *bias_data = requantize_s64_biases; in requantize_s64_arm_convolve_fast_s16() local
176 bias_data, in requantize_s64_arm_convolve_fast_s16()
200 bias_data, in requantize_s64_arm_convolve_fast_s16()
/cmsis-nn-3.6.0-3.5.0/Tests/UnitTest/
Dmodel_extractor.py238 bias_data = self.from_bytes(bias_data_buffer['data'], 4)
260 self.generate_c_array(nice_name + "_bias", bias_data, datatype='int32_t')
Dgenerate_test_data.py503 bias_data=None, argument
528 if bias_data is not None:
530 … data["buffers"][bias_buffer_index]["data"] = self.to_bytes(bias_data.numpy().ravel(), 4)
1821 bias_data = interpreter.get_tensor(bias_tensor['index'])
1822 output = bias_data