/cmsis-nn-3.7.0/Tests/UnitTest/TestCases/Utils/ |
D | utils.h | 22 static inline const int32_t *get_bias_address(const int32_t *bias, int32_t size) in get_bias_address() argument 27 if (bias[i] != 0) in get_bias_address() 29 return_bias = bias; in get_bias_address() 36 static inline const int64_t *get_bias_s64_address(const int64_t *bias, int32_t size) in get_bias_s64_address() argument 41 if (bias[i] != 0) in get_bias_s64_address() 43 return_bias = bias; in get_bias_s64_address()
|
/cmsis-nn-3.7.0/Source/ConvolutionFunctions/ |
D | arm_depthwise_conv_wrapper_s16.c | 58 const int64_t *bias, in arm_depthwise_conv_wrapper_s16() argument 74 bias, in arm_depthwise_conv_wrapper_s16() 88 bias, in arm_depthwise_conv_wrapper_s16()
|
D | arm_depthwise_conv_wrapper_s8.c | 57 const int32_t *bias, in arm_depthwise_conv_wrapper_s8() argument 77 bias, in arm_depthwise_conv_wrapper_s8() 92 bias, in arm_depthwise_conv_wrapper_s8() 107 bias, in arm_depthwise_conv_wrapper_s8()
|
D | arm_depthwise_conv_wrapper_s4.c | 57 const int32_t *bias, in arm_depthwise_conv_wrapper_s4() argument 73 bias, in arm_depthwise_conv_wrapper_s4() 87 bias, in arm_depthwise_conv_wrapper_s4()
|
D | arm_depthwise_conv_s8.c | 60 const int32_t *bias, in depthwise_conv_s8_mult_4() argument 71 const int32_t *bias_base = bias; in depthwise_conv_s8_mult_4() 80 bias = bias_base; in depthwise_conv_s8_mult_4() 89 if (bias) in depthwise_conv_s8_mult_4() 91 out_buff[0] = *bias++; in depthwise_conv_s8_mult_4() 92 out_buff[1] = *bias++; in depthwise_conv_s8_mult_4() 93 out_buff[2] = *bias++; in depthwise_conv_s8_mult_4() 94 out_buff[3] = *bias++; in depthwise_conv_s8_mult_4() 168 const int32_t *bias, in depthwise_conv_s8_generic() argument 232 if (bias) in depthwise_conv_s8_generic() [all …]
|
D | arm_nn_mat_mult_kernel_row_offset_s8_s16.c | 59 const int32_t *bias = output_bias; in arm_nn_mat_mult_kernel_row_offset_s8_s16() local 78 if (bias) in arm_nn_mat_mult_kernel_row_offset_s8_s16() 80 ch_0_out_0 = *bias; in arm_nn_mat_mult_kernel_row_offset_s8_s16() 81 ch_0_out_1 = *bias++; in arm_nn_mat_mult_kernel_row_offset_s8_s16() 82 ch_1_out_0 = *bias; in arm_nn_mat_mult_kernel_row_offset_s8_s16() 83 ch_1_out_1 = *bias++; in arm_nn_mat_mult_kernel_row_offset_s8_s16() 177 if (bias) in arm_nn_mat_mult_kernel_row_offset_s8_s16() 179 ch_0_out_0 = *bias; in arm_nn_mat_mult_kernel_row_offset_s8_s16() 180 ch_0_out_1 = *bias++; in arm_nn_mat_mult_kernel_row_offset_s8_s16()
|
D | arm_nn_mat_mult_kernel_s8_s16.c | 56 const int32_t *bias = output_bias; in arm_nn_mat_mult_kernel_s8_s16() local 75 if (bias) in arm_nn_mat_mult_kernel_s8_s16() 77 ch_0_out_0 = *bias; in arm_nn_mat_mult_kernel_s8_s16() 78 ch_0_out_1 = *bias++; in arm_nn_mat_mult_kernel_s8_s16() 79 ch_1_out_0 = *bias; in arm_nn_mat_mult_kernel_s8_s16() 80 ch_1_out_1 = *bias++; in arm_nn_mat_mult_kernel_s8_s16() 172 if (bias) in arm_nn_mat_mult_kernel_s8_s16() 174 ch_0_out_0 = *bias; in arm_nn_mat_mult_kernel_s8_s16() 175 ch_0_out_1 = *bias++; in arm_nn_mat_mult_kernel_s8_s16()
|
D | arm_nn_mat_mult_kernel_s4_s16.c | 54 const int32_t *bias = output_bias; in arm_nn_mat_mult_kernel_s4_s16() local 78 if (bias) in arm_nn_mat_mult_kernel_s4_s16() 80 ch_0_out_0 = *bias; in arm_nn_mat_mult_kernel_s4_s16() 81 ch_0_out_1 = *bias; in arm_nn_mat_mult_kernel_s4_s16() 82 bias += 2; in arm_nn_mat_mult_kernel_s4_s16() 83 ch_1_out_0 = *bias; in arm_nn_mat_mult_kernel_s4_s16() 84 ch_1_out_1 = *bias--; in arm_nn_mat_mult_kernel_s4_s16() 214 if (bias) in arm_nn_mat_mult_kernel_s4_s16() 216 ch_0_out_0 = *bias; in arm_nn_mat_mult_kernel_s4_s16() 217 ch_0_out_1 = *bias; in arm_nn_mat_mult_kernel_s4_s16() [all …]
|
D | arm_depthwise_conv_fast_s16.c | 59 const int64_t *bias, in arm_depthwise_conv_fast_s16() argument 144 bias, in arm_depthwise_conv_fast_s16() 183 if (bias) in arm_depthwise_conv_fast_s16() 185 in_requantize_0 += bias[offset]; in arm_depthwise_conv_fast_s16() 186 in_requantize_1 += bias[offset + 1]; in arm_depthwise_conv_fast_s16() 187 in_requantize_2 += bias[offset + 2]; in arm_depthwise_conv_fast_s16() 188 in_requantize_3 += bias[offset + 3]; in arm_depthwise_conv_fast_s16() 222 const int64_t *const bias_start_pos = bias; in arm_depthwise_conv_fast_s16() 281 bias = bias_start_pos; in arm_depthwise_conv_fast_s16() 364 if (bias) in arm_depthwise_conv_fast_s16() [all …]
|
D | arm_depthwise_conv_s16.c | 56 const int64_t *bias, in depthwise_conv_s16_mult_4_s16() argument 81 if (bias) in depthwise_conv_s16_mult_4_s16() 83 out_buff[0] = bias[out_ch + 0 + mult_tile]; in depthwise_conv_s16_mult_4_s16() 84 out_buff[1] = bias[out_ch + 1 + mult_tile]; in depthwise_conv_s16_mult_4_s16() 85 out_buff[2] = bias[out_ch + 2 + mult_tile]; in depthwise_conv_s16_mult_4_s16() 86 out_buff[3] = bias[out_ch + 3 + mult_tile]; in depthwise_conv_s16_mult_4_s16() 146 const int64_t *bias, in depthwise_conv_s16_generic_s16() argument 206 if (bias) in depthwise_conv_s16_generic_s16() 208 acc_0 = bias[idx_out_ch]; in depthwise_conv_s16_generic_s16() 252 const int64_t *bias, in arm_depthwise_conv_s16() argument [all …]
|
D | arm_nn_mat_mult_s8.c | 51 const int32_t *const bias, in arm_nn_mat_mult_s8() argument 105 if (bias) in arm_nn_mat_mult_s8() 107 res = vaddq_n_s32(res, bias[i_out_ch]); in arm_nn_mat_mult_s8() 148 if (bias) in arm_nn_mat_mult_s8() 150 acc_0 += bias[i_out_ch]; in arm_nn_mat_mult_s8() 176 (void)bias; in arm_nn_mat_mult_s8()
|
D | arm_depthwise_conv_s8_opt.c | 59 const int32_t *bias, in arm_depthwise_conv_s8_opt() argument 152 bias + block_offset, in arm_depthwise_conv_s8_opt() 175 if (bias) in arm_depthwise_conv_s8_opt() 177 out_0 = vldrwq_s32(&bias[offset]); in arm_depthwise_conv_s8_opt() 214 const int32_t *const bias_start_pos = bias; in arm_depthwise_conv_s8_opt() 270 bias = bias_start_pos; in arm_depthwise_conv_s8_opt() 280 if (bias) in arm_depthwise_conv_s8_opt() 282 sum = *bias++; in arm_depthwise_conv_s8_opt() 283 sum_2 = *bias++; in arm_depthwise_conv_s8_opt() 284 sum_3 = *bias++; in arm_depthwise_conv_s8_opt() [all …]
|
D | arm_depthwise_conv_s4_opt.c | 59 const int32_t *bias, in arm_depthwise_conv_s4_opt() argument 152 bias + block_offset, in arm_depthwise_conv_s4_opt() 177 if (bias) in arm_depthwise_conv_s4_opt() 179 out_0 = vldrwq_s32(&bias[offset]); in arm_depthwise_conv_s4_opt() 254 const int32_t *const bias_start_pos = bias; in arm_depthwise_conv_s4_opt() 313 bias = bias_start_pos; in arm_depthwise_conv_s4_opt() 327 if (bias) in arm_depthwise_conv_s4_opt() 329 sum = *bias++; in arm_depthwise_conv_s4_opt() 330 sum_2 = *bias++; in arm_depthwise_conv_s4_opt() 331 sum_3 = *bias++; in arm_depthwise_conv_s4_opt() [all …]
|
D | arm_depthwise_conv_3x3_s8.c | 60 const int32_t *bias, in arm_depthwise_conv_3x3_s8() argument 94 const int32_t *bias_base = bias; in arm_depthwise_conv_3x3_s8() 102 bias = bias_base; in arm_depthwise_conv_3x3_s8() 109 if (bias) in arm_depthwise_conv_3x3_s8() 111 out_buff0 = *bias++; in arm_depthwise_conv_3x3_s8() 112 out_buff1 = *bias++; in arm_depthwise_conv_3x3_s8() 113 out_buff2 = *bias++; in arm_depthwise_conv_3x3_s8() 114 out_buff3 = *bias++; in arm_depthwise_conv_3x3_s8() 242 if (bias) in arm_depthwise_conv_3x3_s8() 244 out_buff = *bias++; in arm_depthwise_conv_3x3_s8()
|
D | arm_depthwise_conv_s4.c | 57 const int32_t *bias, in depthwise_conv_s4_generic() argument 128 if (bias) in depthwise_conv_s4_generic() 130 acc_0 = bias[i_input_ch]; in depthwise_conv_s4_generic() 131 acc_1 = bias[i_input_ch + 1]; in depthwise_conv_s4_generic() 220 if (bias) in depthwise_conv_s4_generic() 222 acc_0 = bias[idx_out_ch]; in depthwise_conv_s4_generic() 312 if (bias) in depthwise_conv_s4_generic() 314 acc_0 = bias[idx_out_ch]; in depthwise_conv_s4_generic() 315 acc_1 = bias[idx_out_ch + 1]; in depthwise_conv_s4_generic() 424 if (bias) in depthwise_conv_s4_generic() [all …]
|
/cmsis-nn-3.7.0/Source/NNSupportFunctions/ |
D | arm_nn_mat_mul_core_1x_s8.c | 54 const int32_t *bias, in arm_nn_mat_mul_core_1x_s8() argument 105 if (bias) in arm_nn_mat_mul_core_1x_s8() 107 res = vaddq_s32(res, vldrwq_s32(bias)); in arm_nn_mat_mul_core_1x_s8() 108 bias += 4; in arm_nn_mat_mul_core_1x_s8() 125 if (bias) in arm_nn_mat_mul_core_1x_s8() 127 acc_n0 += bias[i]; in arm_nn_mat_mul_core_1x_s8() 145 (void)bias; in arm_nn_mat_mul_core_1x_s8()
|
D | arm_nn_mat_mul_core_1x_s4.c | 54 const int32_t *bias, in arm_nn_mat_mul_core_1x_s4() argument 100 if (bias) in arm_nn_mat_mul_core_1x_s4() 102 res = vaddq_s32(res, vldrwq_s32(bias)); in arm_nn_mat_mul_core_1x_s4() 103 bias += 4; in arm_nn_mat_mul_core_1x_s4() 121 if (bias) in arm_nn_mat_mul_core_1x_s4() 123 acc_n0 += bias[i]; in arm_nn_mat_mul_core_1x_s4() 141 (void)bias; in arm_nn_mat_mul_core_1x_s4()
|
D | arm_nn_vec_mat_mult_t_s8.c | 61 const int32_t *bias, in arm_nn_vec_mat_mult_t_s8() argument 97 if (bias) in arm_nn_vec_mat_mult_t_s8() 99 acc_0 = *bias++; in arm_nn_vec_mat_mult_t_s8() 100 acc_1 = *bias++; in arm_nn_vec_mat_mult_t_s8() 101 acc_2 = *bias++; in arm_nn_vec_mat_mult_t_s8() 102 acc_3 = *bias++; in arm_nn_vec_mat_mult_t_s8() 179 if (bias) in arm_nn_vec_mat_mult_t_s8() 181 acc_0 += *bias; in arm_nn_vec_mat_mult_t_s8() 182 bias++; in arm_nn_vec_mat_mult_t_s8() 212 if (bias) in arm_nn_vec_mat_mult_t_s8() [all …]
|
D | arm_nn_vec_mat_mult_t_s16.c | 50 const int64_t *bias, in arm_nn_vec_mat_mult_t_s16() argument 130 if (bias) in arm_nn_vec_mat_mult_t_s16() 132 result_64_0 += *bias++; in arm_nn_vec_mat_mult_t_s16() 133 result_64_1 += *bias++; in arm_nn_vec_mat_mult_t_s16() 134 result_64_2 += *bias++; in arm_nn_vec_mat_mult_t_s16() 135 result_64_3 += *bias++; in arm_nn_vec_mat_mult_t_s16() 192 if (bias) in arm_nn_vec_mat_mult_t_s16() 194 result_64 += *bias++; in arm_nn_vec_mat_mult_t_s16() 266 if (bias) in arm_nn_vec_mat_mult_t_s16() 268 acc_64_0 += *bias++; in arm_nn_vec_mat_mult_t_s16() [all …]
|
D | arm_nn_depthwise_conv_nt_t_s16.c | 60 const int64_t *bias = output_bias; in arm_nn_depthwise_conv_nt_t_s16() local 111 if (bias) in arm_nn_depthwise_conv_nt_t_s16() 113 in_requantize_0 += *bias; in arm_nn_depthwise_conv_nt_t_s16() 114 in_requantize_1 += *bias; in arm_nn_depthwise_conv_nt_t_s16() 115 in_requantize_2 += *bias; in arm_nn_depthwise_conv_nt_t_s16() 116 in_requantize_3 += *bias; in arm_nn_depthwise_conv_nt_t_s16() 117 bias++; in arm_nn_depthwise_conv_nt_t_s16()
|
D | arm_nn_vec_mat_mult_t_s4.c | 55 const int32_t *bias, in arm_nn_vec_mat_mult_t_s4() argument 102 if (bias) in arm_nn_vec_mat_mult_t_s4() 104 acc0 += *bias; in arm_nn_vec_mat_mult_t_s4() 105 acc2 += bias[2 * row_loop_cnt]; in arm_nn_vec_mat_mult_t_s4() 106 ++bias; in arm_nn_vec_mat_mult_t_s4() 206 if (bias) in arm_nn_vec_mat_mult_t_s4() 208 acc1 += *bias; in arm_nn_vec_mat_mult_t_s4() 209 acc3 += bias[2 * row_loop_cnt]; in arm_nn_vec_mat_mult_t_s4() 210 ++bias; in arm_nn_vec_mat_mult_t_s4() 310 if (bias) in arm_nn_vec_mat_mult_t_s4() [all …]
|
D | arm_nn_mat_mul_core_4x_s8.c | 54 const int32_t *bias, in arm_nn_mat_mul_core_4x_s8() argument 116 if (bias) in arm_nn_mat_mul_core_4x_s8() 118 sum_tmp += bias[i]; in arm_nn_mat_mul_core_4x_s8() 142 (void)bias; in arm_nn_mat_mul_core_4x_s8()
|
/cmsis-nn-3.7.0/Source/FullyConnectedFunctions/ |
D | arm_fully_connected_s16.c | 57 const int64_t *bias, in arm_fully_connected_s16() argument 73 bias, in arm_fully_connected_s16()
|
D | arm_fully_connected_s4.c | 58 const int32_t *bias, in arm_fully_connected_s4() argument 73 bias, in arm_fully_connected_s4()
|
D | arm_fully_connected_s8.c | 58 const int32_t *bias, in arm_fully_connected_s8() argument 81 bias, in arm_fully_connected_s8()
|