Home
last modified time | relevance | path

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

123

/cmsis-nn-latest/Tests/UnitTest/TestCases/test_arm_ds_cnn_l_s8/
Dtest_arm_ds_cnn_l_s8.c145 cmsis_nn_per_channel_quant_params quant_params; in ds_cnn_l_s8_inference() local
164 quant_params.multiplier = (int32_t *)ds_cnn_l_layer_1_conv_2d_output_mult; in ds_cnn_l_s8_inference()
165 quant_params.shift = (int32_t *)ds_cnn_l_layer_1_conv_2d_output_shift; in ds_cnn_l_s8_inference()
184 &quant_params, in ds_cnn_l_s8_inference()
209 quant_params.multiplier = (int32_t *)ds_cnn_l_layer_2_depthwise_conv_2d_output_mult; in ds_cnn_l_s8_inference()
210 quant_params.shift = (int32_t *)ds_cnn_l_layer_2_depthwise_conv_2d_output_shift; in ds_cnn_l_s8_inference()
224 &quant_params, in ds_cnn_l_s8_inference()
253 quant_params.multiplier = (int32_t *)ds_cnn_l_layer_3_conv_2d_output_mult; in ds_cnn_l_s8_inference()
254 quant_params.shift = (int32_t *)ds_cnn_l_layer_3_conv_2d_output_shift; in ds_cnn_l_s8_inference()
258 &quant_params, in ds_cnn_l_s8_inference()
[all …]
/cmsis-nn-latest/Source/ConvolutionFunctions/
Darm_convolve_wrapper_s4.c52 const cmsis_nn_per_channel_quant_params *quant_params, in arm_convolve_wrapper_s4() argument
69 quant_params, in arm_convolve_wrapper_s4()
83 quant_params, in arm_convolve_wrapper_s4()
99 quant_params, in arm_convolve_wrapper_s4()
113 quant_params, in arm_convolve_wrapper_s4()
Darm_convolve_wrapper_s8.c52 const cmsis_nn_per_channel_quant_params *quant_params, in arm_convolve_wrapper_s8() argument
70 quant_params, in arm_convolve_wrapper_s8()
84 quant_params, in arm_convolve_wrapper_s8()
100 quant_params, in arm_convolve_wrapper_s8()
114 quant_params, in arm_convolve_wrapper_s8()
Darm_depthwise_conv_wrapper_s16.c52 … const cmsis_nn_per_channel_quant_params *quant_params, in arm_depthwise_conv_wrapper_s16() argument
68 quant_params, in arm_depthwise_conv_wrapper_s16()
82 quant_params, in arm_depthwise_conv_wrapper_s16()
Darm_depthwise_conv_wrapper_s8.c51 … const cmsis_nn_per_channel_quant_params *quant_params, in arm_depthwise_conv_wrapper_s8() argument
71 quant_params, in arm_depthwise_conv_wrapper_s8()
86 quant_params, in arm_depthwise_conv_wrapper_s8()
101 quant_params, in arm_depthwise_conv_wrapper_s8()
Darm_depthwise_conv_wrapper_s4.c51 … const cmsis_nn_per_channel_quant_params *quant_params, in arm_depthwise_conv_wrapper_s4() argument
67 quant_params, in arm_depthwise_conv_wrapper_s4()
81 quant_params, in arm_depthwise_conv_wrapper_s4()
Darm_convolve_wrapper_s16.c52 const cmsis_nn_per_channel_quant_params *quant_params, in arm_convolve_wrapper_s16() argument
64 quant_params, in arm_convolve_wrapper_s16()
Darm_convolve_1x1_s4_fast.c52 const cmsis_nn_per_channel_quant_params *quant_params, in arm_convolve_1x1_s4_fast() argument
80 quant_params->multiplier, in arm_convolve_1x1_s4_fast()
81 quant_params->shift, in arm_convolve_1x1_s4_fast()
Darm_convolve_1x1_s8_fast.c52 const cmsis_nn_per_channel_quant_params *quant_params, in arm_convolve_1x1_s8_fast() argument
80 quant_params->multiplier, in arm_convolve_1x1_s8_fast()
81 quant_params->shift, in arm_convolve_1x1_s8_fast()
Darm_convolve_1_x_n_s8.c50 const cmsis_nn_per_channel_quant_params *quant_params, in arm_convolve_1_x_n_s8() argument
103 quant_params, in arm_convolve_1_x_n_s8()
131 quant_params->multiplier, in arm_convolve_1_x_n_s8()
132 quant_params->shift, in arm_convolve_1_x_n_s8()
161 quant_params->multiplier, in arm_convolve_1_x_n_s8()
162 quant_params->shift, in arm_convolve_1_x_n_s8()
195 quant_params->multiplier, in arm_convolve_1_x_n_s8()
196 quant_params->shift, in arm_convolve_1_x_n_s8()
215 quant_params, in arm_convolve_1_x_n_s8()
/cmsis-nn-latest/Tests/UnitTest/TestCases/test_arm_ds_cnn_s_s8/
Dtest_arm_ds_cnn_s_s8.c126 cmsis_nn_per_channel_quant_params quant_params; in ds_cnn_s_s8_inference() local
145 quant_params.multiplier = (int32_t *)ds_cnn_s_layer_1_conv_2d_output_mult; in ds_cnn_s_s8_inference()
146 quant_params.shift = (int32_t *)ds_cnn_s_layer_1_conv_2d_output_shift; in ds_cnn_s_s8_inference()
165 &quant_params, in ds_cnn_s_s8_inference()
193 quant_params.multiplier = (int32_t *)ds_cnn_s_layer_2_depthwise_conv_2d_output_mult; in ds_cnn_s_s8_inference()
194 quant_params.shift = (int32_t *)ds_cnn_s_layer_2_depthwise_conv_2d_output_shift; in ds_cnn_s_s8_inference()
208 &quant_params, in ds_cnn_s_s8_inference()
237 quant_params.multiplier = (int32_t *)ds_cnn_s_layer_3_conv_2d_output_mult; in ds_cnn_s_s8_inference()
238 quant_params.shift = (int32_t *)ds_cnn_s_layer_3_conv_2d_output_shift; in ds_cnn_s_s8_inference()
242 &quant_params, in ds_cnn_s_s8_inference()
[all …]
/cmsis-nn-latest/Source/FullyConnectedFunctions/
Darm_fully_connected_s16.c51 const cmsis_nn_per_tensor_quant_params *quant_params, in arm_fully_connected_s16() argument
67 const int32_t reduced_multiplier = REDUCE_MULTIPLIER(quant_params->multiplier); in arm_fully_connected_s16()
76 quant_params->shift, in arm_fully_connected_s16()
Darm_fully_connected_s4.c52 const cmsis_nn_per_tensor_quant_params *quant_params, in arm_fully_connected_s4() argument
77 quant_params->multiplier, in arm_fully_connected_s4()
78 quant_params->shift, in arm_fully_connected_s4()
Darm_fully_connected_s8.c52 const cmsis_nn_per_tensor_quant_params *quant_params, in arm_fully_connected_s8() argument
85 quant_params->multiplier, in arm_fully_connected_s8()
86 quant_params->shift, in arm_fully_connected_s8()
/cmsis-nn-latest/Tests/UnitTest/TestCases/test_arm_fully_connected_s4/
Dtest_arm_fully_connected_s4.c39 cmsis_nn_per_tensor_quant_params quant_params; in fully_connected_int4_arm_fully_connected_s4() local
66 quant_params.multiplier = FULLY_CONNECTED_INT4_OUTPUT_MULTIPLIER; in fully_connected_int4_arm_fully_connected_s4()
67 quant_params.shift = FULLY_CONNECTED_INT4_OUTPUT_SHIFT; in fully_connected_int4_arm_fully_connected_s4()
75 &quant_params, in fully_connected_int4_arm_fully_connected_s4()
102 cmsis_nn_per_tensor_quant_params quant_params; in fully_connected_int4_arm_fully_connected_s4_2() local
129 quant_params.multiplier = FULLY_CONNECTED_INT4_2_OUTPUT_MULTIPLIER; in fully_connected_int4_arm_fully_connected_s4_2()
130 quant_params.shift = FULLY_CONNECTED_INT4_2_OUTPUT_SHIFT; in fully_connected_int4_arm_fully_connected_s4_2()
138 &quant_params, in fully_connected_int4_arm_fully_connected_s4_2()
165 cmsis_nn_per_tensor_quant_params quant_params; in fully_connected_int4_arm_fully_connected_s4_3() local
192 quant_params.multiplier = FULLY_CONNECTED_INT4_3_OUTPUT_MULTIPLIER; in fully_connected_int4_arm_fully_connected_s4_3()
[all …]
/cmsis-nn-latest/Tests/UnitTest/TestCases/test_arm_fully_connected_s16/
Dtest_arm_fully_connected_s16.c35 cmsis_nn_per_tensor_quant_params quant_params; in fully_connected_int16_arm_fully_connected_s16() local
64 quant_params.multiplier = FULLY_CONNECTED_INT16_OUTPUT_MULTIPLIER; in fully_connected_int16_arm_fully_connected_s16()
65 quant_params.shift = FULLY_CONNECTED_INT16_OUTPUT_SHIFT; in fully_connected_int16_arm_fully_connected_s16()
73 &quant_params, in fully_connected_int16_arm_fully_connected_s16()
100 cmsis_nn_per_tensor_quant_params quant_params; in fully_connected_int16_big_arm_fully_connected_s16() local
129 quant_params.multiplier = FULLY_CONNECTED_INT16_BIG_OUTPUT_MULTIPLIER; in fully_connected_int16_big_arm_fully_connected_s16()
130 quant_params.shift = FULLY_CONNECTED_INT16_BIG_OUTPUT_SHIFT; in fully_connected_int16_big_arm_fully_connected_s16()
138 &quant_params, in fully_connected_int16_big_arm_fully_connected_s16()
164 cmsis_nn_per_tensor_quant_params quant_params; in fc_int16_slow_arm_fully_connected_s16() local
193 quant_params.multiplier = FC_INT16_SLOW_OUTPUT_MULTIPLIER; in fc_int16_slow_arm_fully_connected_s16()
[all …]
/cmsis-nn-latest/Tests/UnitTest/TestCases/test_arm_fully_connected_s8/
Dtest_arm_fully_connected_s8.c38 cmsis_nn_per_tensor_quant_params quant_params; in fully_connected_arm_fully_connected_s8() local
65 quant_params.multiplier = FULLY_CONNECTED_OUTPUT_MULTIPLIER; in fully_connected_arm_fully_connected_s8()
66 quant_params.shift = FULLY_CONNECTED_OUTPUT_SHIFT; in fully_connected_arm_fully_connected_s8()
79 &quant_params, in fully_connected_arm_fully_connected_s8()
106 cmsis_nn_per_tensor_quant_params quant_params; in fully_connected_w_zp_arm_fully_connected_s8() local
133 quant_params.multiplier = FULLY_CONNECTED_W_ZP_OUTPUT_MULTIPLIER; in fully_connected_w_zp_arm_fully_connected_s8()
134 quant_params.shift = FULLY_CONNECTED_W_ZP_OUTPUT_SHIFT; in fully_connected_w_zp_arm_fully_connected_s8()
147 &quant_params, in fully_connected_w_zp_arm_fully_connected_s8()
173 cmsis_nn_per_tensor_quant_params quant_params; in fully_connected_mve_0_arm_fully_connected_s8() local
196 quant_params.multiplier = FULLY_CONNECTED_MVE_0_OUTPUT_MULTIPLIER; in fully_connected_mve_0_arm_fully_connected_s8()
[all …]
/cmsis-nn-latest/Tests/UnitTest/TestCases/test_arm_depthwise_conv_s4/
Dtest_arm_depthwise_conv_s4.c39 cmsis_nn_per_channel_quant_params quant_params; in depthwise_int4_generic_arm_depthwise_conv_s4() local
72 quant_params.multiplier = (int32_t *)depthwise_int4_generic_output_mult; in depthwise_int4_generic_arm_depthwise_conv_s4()
73 quant_params.shift = (int32_t *)depthwise_int4_generic_output_shift; in depthwise_int4_generic_arm_depthwise_conv_s4()
82 &quant_params, in depthwise_int4_generic_arm_depthwise_conv_s4()
105 &quant_params, in depthwise_int4_generic_arm_depthwise_conv_s4()
132 cmsis_nn_per_channel_quant_params quant_params; in depthwise_int4_generic_2_arm_depthwise_conv_s4() local
165 quant_params.multiplier = (int32_t *)depthwise_int4_generic_2_output_mult; in depthwise_int4_generic_2_arm_depthwise_conv_s4()
166 quant_params.shift = (int32_t *)depthwise_int4_generic_2_output_shift; in depthwise_int4_generic_2_arm_depthwise_conv_s4()
175 &quant_params, in depthwise_int4_generic_2_arm_depthwise_conv_s4()
198 &quant_params, in depthwise_int4_generic_2_arm_depthwise_conv_s4()
[all …]
/cmsis-nn-latest/Tests/UnitTest/TestCases/test_arm_convolve_1_x_n_s8/
Dtest_arm_convolve_1_x_n_s8.c42 cmsis_nn_per_channel_quant_params quant_params; in conv_1_x_n_1_arm_convolve_s8() local
76 quant_params.multiplier = (int32_t *)conv_1_x_n_1_output_mult; in conv_1_x_n_1_arm_convolve_s8()
77 quant_params.shift = (int32_t *)conv_1_x_n_1_output_shift; in conv_1_x_n_1_arm_convolve_s8()
85 &quant_params, in conv_1_x_n_1_arm_convolve_s8()
109 &quant_params, in conv_1_x_n_1_arm_convolve_s8()
134 cmsis_nn_per_channel_quant_params quant_params; in conv_1_x_n_2_arm_convolve_s8() local
168 quant_params.multiplier = (int32_t *)conv_1_x_n_2_output_mult; in conv_1_x_n_2_arm_convolve_s8()
169 quant_params.shift = (int32_t *)conv_1_x_n_2_output_shift; in conv_1_x_n_2_arm_convolve_s8()
177 &quant_params, in conv_1_x_n_2_arm_convolve_s8()
200 &quant_params, in conv_1_x_n_2_arm_convolve_s8()
[all …]
/cmsis-nn-latest/Tests/UnitTest/TestCases/test_arm_grouped_convolve_s8/
Dtest_arm_grouped_convolve_s8.c37 cmsis_nn_per_channel_quant_params quant_params; in grouped_conv_arm_grouped_convolve_1_s8() local
71 quant_params.multiplier = (int32_t *)grouped_conv_1_output_mult; in grouped_conv_arm_grouped_convolve_1_s8()
72 quant_params.shift = (int32_t *)grouped_conv_1_output_shift; in grouped_conv_arm_grouped_convolve_1_s8()
80 &quant_params, in grouped_conv_arm_grouped_convolve_1_s8()
108 cmsis_nn_per_channel_quant_params quant_params; in grouped_conv_arm_grouped_convolve_2_s8() local
142 quant_params.multiplier = (int32_t *)grouped_conv_2_output_mult; in grouped_conv_arm_grouped_convolve_2_s8()
143 quant_params.shift = (int32_t *)grouped_conv_2_output_shift; in grouped_conv_arm_grouped_convolve_2_s8()
151 &quant_params, in grouped_conv_arm_grouped_convolve_2_s8()
179 cmsis_nn_per_channel_quant_params quant_params; in grouped_conv_arm_grouped_convolve_3_s8() local
213 quant_params.multiplier = (int32_t *)grouped_conv_3_output_mult; in grouped_conv_arm_grouped_convolve_3_s8()
[all …]
/cmsis-nn-latest/Tests/UnitTest/TestCases/test_arm_depthwise_conv_s4_opt/
Dtest_arm_depthwise_conv_s4_opt.c37 cmsis_nn_per_channel_quant_params quant_params; in depthwise_int4_1_arm_depthwise_conv_s4_opt() local
70 quant_params.multiplier = (int32_t *)depthwise_int4_1_output_mult; in depthwise_int4_1_arm_depthwise_conv_s4_opt()
71 quant_params.shift = (int32_t *)depthwise_int4_1_output_shift; in depthwise_int4_1_arm_depthwise_conv_s4_opt()
81 &quant_params, in depthwise_int4_1_arm_depthwise_conv_s4_opt()
103 &quant_params, in depthwise_int4_1_arm_depthwise_conv_s4_opt()
126 &quant_params, in depthwise_int4_1_arm_depthwise_conv_s4_opt()
154 cmsis_nn_per_channel_quant_params quant_params; in depthwise_int4_2_arm_depthwise_conv_s4_opt() local
187 quant_params.multiplier = (int32_t *)depthwise_int4_2_output_mult; in depthwise_int4_2_arm_depthwise_conv_s4_opt()
188 quant_params.shift = (int32_t *)depthwise_int4_2_output_shift; in depthwise_int4_2_arm_depthwise_conv_s4_opt()
198 &quant_params, in depthwise_int4_2_arm_depthwise_conv_s4_opt()
[all …]
/cmsis-nn-latest/Tests/UnitTest/TestCases/test_arm_convolve_s16/
Dtest_arm_convolve_s16.c46 cmsis_nn_per_channel_quant_params quant_params; in int16xint8_arm_convolve_s16() local
80 quant_params.multiplier = (int32_t *)int16xint8_output_mult; in int16xint8_arm_convolve_s16()
81 quant_params.shift = (int32_t *)int16xint8_output_shift; in int16xint8_arm_convolve_s16()
88 &quant_params, in int16xint8_arm_convolve_s16()
112 &quant_params, in int16xint8_arm_convolve_s16()
136 cmsis_nn_per_channel_quant_params quant_params; in requantize_s64_arm_convolve_s16() local
170 quant_params.multiplier = (int32_t *)requantize_s64_output_mult; in requantize_s64_arm_convolve_s16()
171 quant_params.shift = (int32_t *)requantize_s64_output_shift; in requantize_s64_arm_convolve_s16()
178 &quant_params, in requantize_s64_arm_convolve_s16()
201 &quant_params, in requantize_s64_arm_convolve_s16()
[all …]
/cmsis-nn-latest/Tests/UnitTest/TestCases/test_arm_convolve_s8/
Dtest_arm_convolve_s8.c46 cmsis_nn_per_channel_quant_params quant_params; in basic_arm_convolve_s8() local
80 quant_params.multiplier = (int32_t *)basic_output_mult; in basic_arm_convolve_s8()
81 quant_params.shift = (int32_t *)basic_output_shift; in basic_arm_convolve_s8()
89 &quant_params, in basic_arm_convolve_s8()
115 &quant_params, in basic_arm_convolve_s8()
141 cmsis_nn_per_channel_quant_params quant_params; in stride2pad1_arm_convolve_s8() local
175 quant_params.multiplier = (int32_t *)stride2pad1_output_mult; in stride2pad1_arm_convolve_s8()
176 quant_params.shift = (int32_t *)stride2pad1_output_shift; in stride2pad1_arm_convolve_s8()
184 &quant_params, in stride2pad1_arm_convolve_s8()
209 &quant_params, in stride2pad1_arm_convolve_s8()
[all …]
/cmsis-nn-latest/Tests/UnitTest/TestCases/test_arm_convolve_s4/
Dtest_arm_convolve_s4.c52 cmsis_nn_per_channel_quant_params quant_params; in basic_arm_convolve_s4() local
85 quant_params.multiplier = (int32_t *)basic_int4_output_mult; in basic_arm_convolve_s4()
86 quant_params.shift = (int32_t *)basic_int4_output_shift; in basic_arm_convolve_s4()
94 &quant_params, in basic_arm_convolve_s4()
120 &quant_params, in basic_arm_convolve_s4()
146 cmsis_nn_per_channel_quant_params quant_params; in basic_2_arm_convolve_s4() local
179 quant_params.multiplier = (int32_t *)basic_2_int4_output_mult; in basic_2_arm_convolve_s4()
180 quant_params.shift = (int32_t *)basic_2_int4_output_shift; in basic_2_arm_convolve_s4()
188 &quant_params, in basic_2_arm_convolve_s4()
214 &quant_params, in basic_2_arm_convolve_s4()
[all …]
/cmsis-nn-latest/Tests/UnitTest/TestCases/test_arm_depthwise_conv_fast_s16/
Dtest_arm_depthwise_conv_fast_s16.c41 cmsis_nn_per_channel_quant_params quant_params; in dw_int16xint8_fast_arm_depthwise_conv_fast_s16() local
76 quant_params.multiplier = (int32_t *)dw_int16xint8_fast_output_mult; in dw_int16xint8_fast_arm_depthwise_conv_fast_s16()
77 quant_params.shift = (int32_t *)dw_int16xint8_fast_output_shift; in dw_int16xint8_fast_arm_depthwise_conv_fast_s16()
84 &quant_params, in dw_int16xint8_fast_arm_depthwise_conv_fast_s16()
112 &quant_params, in dw_int16xint8_fast_arm_depthwise_conv_fast_s16()
138 cmsis_nn_per_channel_quant_params quant_params; in dw_int16xint8_fast_spill_arm_depthwise_conv_fast_s16() local
173 quant_params.multiplier = (int32_t *)dw_int16xint8_fast_spill_output_mult; in dw_int16xint8_fast_spill_arm_depthwise_conv_fast_s16()
174 quant_params.shift = (int32_t *)dw_int16xint8_fast_spill_output_shift; in dw_int16xint8_fast_spill_arm_depthwise_conv_fast_s16()
181 &quant_params, in dw_int16xint8_fast_spill_arm_depthwise_conv_fast_s16()
208 &quant_params, in dw_int16xint8_fast_spill_arm_depthwise_conv_fast_s16()
[all …]

123