Home
last modified time | relevance | path

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

12

/hal_nxp-3.6.0/mcux/mcux-sdk/CMSIS/NN/Source/SoftmaxFunctions/
Darm_softmax_u8.c54 int32_t col = 0; in arm_softmax_u8() local
62 for (col = 1; col < row_size; ++col) in arm_softmax_u8()
64 max = MAX(max, input[col]); in arm_softmax_u8()
70 for (col = 0; col < row_size; ++col) in arm_softmax_u8()
72 diff = input[col] - max; in arm_softmax_u8()
83 for (col = 0; col < row_size; ++col) in arm_softmax_u8()
85 diff = input[col] - max; in arm_softmax_u8()
90 output[col] = (uint8_t)CLAMP(res, (int32_t)255, (int32_t)0); in arm_softmax_u8()
94 output[col] = 0; in arm_softmax_u8()
Darm_softmax_s8.c210 int32_t col = 0; in arm_softmax_s8()
218 for (col = 1; col < row_size; ++col) in arm_softmax_s8()
220 max = MAX(max, input[col]); in arm_softmax_s8()
226 for (col = 0; col < row_size; ++col) in arm_softmax_s8()
228 diff = input[col] - max; in arm_softmax_s8()
239 for (col = 0; col < row_size; ++col) in arm_softmax_s8()
241 diff = input[col] - max; in arm_softmax_s8()
246 output[col] = (int8_t)CLAMP(res, (int32_t)127, (int32_t)-128); in arm_softmax_s8()
250 output[col] = -128; in arm_softmax_s8()
/hal_nxp-3.6.0/mcux/mcux-sdk/CMSIS/DSP/Source/MatrixFunctions/
Darm_mat_mult_fast_q15.c82 uint32_t col, i = 0U, row = numRowsB, colCnt; /* Loop counters */ in arm_mat_mult_fast_q15() local
118 col = numColsB >> 2U; in arm_mat_mult_fast_q15()
122 while (col > 0U) in arm_mat_mult_fast_q15()
191 col--; in arm_mat_mult_fast_q15()
196 col = numColsB % 0x4U; in arm_mat_mult_fast_q15()
198 while (col > 0U) in arm_mat_mult_fast_q15()
207 col--; in arm_mat_mult_fast_q15()
233 col = numColsB; in arm_mat_mult_fast_q15()
240 col = col >> 1U; in arm_mat_mult_fast_q15()
245 while (col > 0U) in arm_mat_mult_fast_q15()
[all …]
Darm_mat_cmplx_mult_q15.c78 uint32_t col, i = 0u, j, row = numRowsB; /* loop counters */ in arm_mat_cmplx_mult_q15() local
127 col = numColsB >> 1; in arm_mat_cmplx_mult_q15()
132 while (col > 0u) in arm_mat_cmplx_mult_q15()
150 col--; in arm_mat_cmplx_mult_q15()
221 col = numColsB & 1; in arm_mat_cmplx_mult_q15()
225 while (col > 0u) in arm_mat_cmplx_mult_q15()
243 col--; in arm_mat_cmplx_mult_q15()
330 uint32_t col, i = 0U, row = numRowsB, colCnt; /* Loop counters */ in arm_mat_cmplx_mult_q15() local
364 col = numColsB >> 2; in arm_mat_cmplx_mult_q15()
368 while (col > 0U) in arm_mat_cmplx_mult_q15()
[all …]
Darm_mat_trans_f64.c67 uint64_t col, row = nRows, i = 0U; /* Loop counters */ in arm_mat_trans_f64() local
94 col = nCols >> 2U; in arm_mat_trans_f64()
96 while (col > 0U) /* column loop */ in arm_mat_trans_f64()
113 col--; in arm_mat_trans_f64()
117 col = nCols % 0x4U; in arm_mat_trans_f64()
122 col = nCols; in arm_mat_trans_f64()
126 while (col > 0U) in arm_mat_trans_f64()
135 col--; in arm_mat_trans_f64()
Darm_mat_mult_q15.c331 uint16_t col, i = 0U, row = numRowsA; /* loop counters */ in arm_mat_mult_q15() local
389 col = numColsB; in arm_mat_mult_q15()
398 while (col > 0U) in arm_mat_mult_q15()
475 col--; in arm_mat_mult_q15()
479 pInB = pSrcB->pData + (numColsB - col); in arm_mat_mult_q15()
504 col = numColsB; in arm_mat_mult_q15()
513 while (col > 0U) in arm_mat_mult_q15()
570 col--; in arm_mat_mult_q15()
574 pInB = pSrcB->pData + (numColsB - col); in arm_mat_mult_q15()
610 uint32_t col, i = 0U, row = numRowsB, colCnt; /* Loop counters */ local
[all …]
Darm_mat_ldlt_f32.c282 for(int col=k; col < n;col += 4) in arm_mat_ldlt_f32() local
286 vstrwq_p(&pl->pData[row*n+col], zero, p0); in arm_mat_ldlt_f32()
299 for(int col=row+1; col < n;col+=4) in arm_mat_ldlt_f32() local
303 vstrwq_p(&pl->pData[row*n+col], zero, p0); in arm_mat_ldlt_f32()
467 for(int col=k; col < n;col++) in arm_mat_ldlt_f32() local
469 pl->pData[row*n+col]=0.0; in arm_mat_ldlt_f32()
476 for(int col=row+1; col < n;col++) in arm_mat_ldlt_f32() local
478 pl->pData[row*n+col] = 0.0; in arm_mat_ldlt_f32()
Darm_mat_trans_q31.c102 uint32_t col, row = nRows, i = 0U; /* Loop counters */ in arm_mat_trans_q31() local
129 col = nCols >> 2U; in arm_mat_trans_q31()
131 while (col > 0U) /* column loop */ in arm_mat_trans_q31()
148 col--; in arm_mat_trans_q31()
152 col = nCols % 0x4U; in arm_mat_trans_q31()
157 col = nCols; in arm_mat_trans_q31()
161 while (col > 0U) in arm_mat_trans_q31()
170 col--; in arm_mat_trans_q31()
Darm_mat_trans_f16.c110 uint32_t col, row = nRows, i = 0U; /* Loop counters */ in arm_mat_trans_f16() local
137 col = nCols >> 2U; in arm_mat_trans_f16()
139 while (col > 0U) /* column loop */ in arm_mat_trans_f16()
156 col--; in arm_mat_trans_f16()
160 col = nCols % 0x4U; in arm_mat_trans_f16()
165 col = nCols; in arm_mat_trans_f16()
169 while (col > 0U) in arm_mat_trans_f16()
178 col--; in arm_mat_trans_f16()
Darm_mat_trans_q15.c107 uint32_t col, row = nRows, i = 0U; /* Loop counters */ in arm_mat_trans_q15() local
138 col = nCols >> 2U; in arm_mat_trans_q15()
140 while (col > 0U) /* column loop */ in arm_mat_trans_q15()
190 col--; in arm_mat_trans_q15()
194 col = nCols % 0x4U; in arm_mat_trans_q15()
199 col = nCols; in arm_mat_trans_q15()
203 while (col > 0U) in arm_mat_trans_q15()
212 col--; in arm_mat_trans_q15()
Darm_mat_ldlt_f64.c176 for(int col=k; col < n;col++) in arm_mat_ldlt_f64() local
178 pl->pData[row*n+col]=0.0; in arm_mat_ldlt_f64()
185 for(int col=row+1; col < n;col++) in arm_mat_ldlt_f64() local
187 pl->pData[row*n+col] = 0.0; in arm_mat_ldlt_f64()
Darm_mat_trans_f32.c235 uint32_t col, row = nRows, i = 0U; /* Loop counters */ in arm_mat_trans_f32() local
262 col = nCols >> 2U; in arm_mat_trans_f32()
264 while (col > 0U) /* column loop */ in arm_mat_trans_f32()
281 col--; in arm_mat_trans_f32()
285 col = nCols % 0x4U; in arm_mat_trans_f32()
290 col = nCols; in arm_mat_trans_f32()
294 while (col > 0U) in arm_mat_trans_f32()
303 col--; in arm_mat_trans_f32()
Darm_mat_mult_fast_q31.c81 uint32_t col, i = 0U, j, row = numRowsA, colCnt; /* Loop counters */ in arm_mat_mult_fast_q31() local
110 col = numColsB; in arm_mat_mult_fast_q31()
117 col = col >> 1U; in arm_mat_mult_fast_q31()
120 while (col > 0U) in arm_mat_mult_fast_q31()
171 col--; in arm_mat_mult_fast_q31()
280 col = numColsB; in arm_mat_mult_fast_q31()
284 while (col > 0) in arm_mat_mult_fast_q31()
360 col--; in arm_mat_mult_fast_q31()
Darm_mat_mult_f64.c82 uint64_t col, i = 0U, row = numRowsA, colCnt; /* Loop counters */ in arm_mat_mult_f64() local
108 col = numColsB; in arm_mat_mult_f64()
175 col--; in arm_mat_mult_f64()
178 pIn2 = pInB + (numColsB - col); in arm_mat_mult_f64()
180 } while (col > 0U); in arm_mat_mult_f64()
Darm_mat_mult_q31.c347 uint16_t col, i = 0U, row = numRowsA; /* loop counters */ in arm_mat_mult_q31() local
404 col = numColsB; in arm_mat_mult_q31()
413 while (col > 0U) in arm_mat_mult_q31()
498 col--; in arm_mat_mult_q31()
502 pInB = (q31_t const *)pSrcB->pData + (numColsB - col); in arm_mat_mult_q31()
526 col = numColsB; in arm_mat_mult_q31()
535 while (col > 0U) in arm_mat_mult_q31()
598 col--; in arm_mat_mult_q31()
602 pInB = (q31_t const *)pSrcB->pData + (numColsB - col); in arm_mat_mult_q31()
641 uint32_t col, i = 0U, row = numRowsA, colCnt; /* Loop counters */ in arm_mat_mult_q31() local
[all …]
Darm_mat_mult_q7.c286 uint32_t col, i = 0u, j, row = numRowsB; /* loop counters */ in arm_mat_mult_q7() local
346 col = numColsB >> 1; in arm_mat_mult_q7()
358 while (col > 0u) in arm_mat_mult_q7()
429 col--; in arm_mat_mult_q7()
509 col = numColsB; in arm_mat_mult_q7()
518 while (col > 0) in arm_mat_mult_q7()
568 col--; in arm_mat_mult_q7()
591 uint16_t col, i = 0U, row = numRowsA, colCnt; /* loop counters */ in arm_mat_mult_q7() local
618 col = numColsB; in arm_mat_mult_q7()
651 col--; in arm_mat_mult_q7()
[all …]
Darm_mat_cmplx_trans_f16.c72 uint16_t col, i = 0U, row = nRows; /* loop counters */ in arm_mat_cmplx_trans_f16() local
96 col = nColumns; in arm_mat_cmplx_trans_f16()
98 while (col > 0U) in arm_mat_cmplx_trans_f16()
108 col--; in arm_mat_cmplx_trans_f16()
Darm_mat_cmplx_trans_f32.c77 uint16_t col, i = 0U, row = nRows; /* loop counters */ in arm_mat_cmplx_trans_f32() local
101 col = nColumns; in arm_mat_cmplx_trans_f32()
103 while (col > 0U) in arm_mat_cmplx_trans_f32()
113 col--; in arm_mat_cmplx_trans_f32()
Darm_mat_cmplx_trans_q15.c68 uint16_t col, row = nRows, i = 0U; /* row and column loop counters */ in arm_mat_cmplx_trans_q15() local
92 col = nColumns; in arm_mat_cmplx_trans_q15()
94 while (col > 0U) in arm_mat_cmplx_trans_q15()
104 col--; in arm_mat_cmplx_trans_q15()
Darm_mat_cmplx_trans_q31.c72 uint16_t col, i = 0U, row = nRows; /* loop counters */ in arm_mat_cmplx_trans_q31() local
96 col = nColumns; in arm_mat_cmplx_trans_q31()
98 while (col > 0U) in arm_mat_cmplx_trans_q31()
108 col--; in arm_mat_cmplx_trans_q31()
Darm_mat_cmplx_mult_f32.c535 uint16_t col, i = 0U, row = numRowsA; /* loop counters */ in arm_mat_cmplx_mult_f32() local
597 col = numColsB; in arm_mat_cmplx_mult_f32()
606 while (col > 0u) in arm_mat_cmplx_mult_f32()
708 col--; in arm_mat_cmplx_mult_f32()
712 pInB = (float32_t const *) pSrcB->pData + (numColsB - col) * CMPLX_DIM; in arm_mat_cmplx_mult_f32()
737 col = numColsB; in arm_mat_cmplx_mult_f32()
746 while (col > 0u) in arm_mat_cmplx_mult_f32()
813 col--; in arm_mat_cmplx_mult_f32()
817 pInB = (float32_t const *) pSrcB->pData + (numColsB - col) * CMPLX_DIM; in arm_mat_cmplx_mult_f32()
862 uint16_t col, i = 0U, j, rowCnt, row = numRowsA, colCnt; /* loop counters */ in arm_mat_cmplx_mult_f32() local
[all …]
Darm_mat_cmplx_mult_f16.c390 uint16_t col, i = 0U, row = numRowsA; /* loop counters */ in arm_mat_cmplx_mult_f16() local
457 col = numColsB; in arm_mat_cmplx_mult_f16()
466 while (col > 0u) in arm_mat_cmplx_mult_f16()
573 col--; in arm_mat_cmplx_mult_f16()
577 pInB = (float16_t const *) pSrcB->pData + (numColsB - col) * CMPLX_DIM; in arm_mat_cmplx_mult_f16()
602 col = numColsB; in arm_mat_cmplx_mult_f16()
611 while (col > 0u) in arm_mat_cmplx_mult_f16()
678 col--; in arm_mat_cmplx_mult_f16()
682 pInB = (float16_t const *) pSrcB->pData + (numColsB - col) * CMPLX_DIM; in arm_mat_cmplx_mult_f16()
719 uint32_t col, i = 0U, j, row = numRowsA, colCnt; /* loop counters */ in arm_mat_cmplx_mult_f16() local
[all …]
Darm_mat_trans_q7.c119 uint16_t col, row = nRows, i = 0U; /* row and column loop counters */ in arm_mat_trans_q7() local
139 col = nColumns; in arm_mat_trans_q7()
142 while (col > 0U) { in arm_mat_trans_q7()
150 col--; in arm_mat_trans_q7()
Darm_mat_mult_f32.c534 uint16_t col, i = 0U, j, row = numRowsA, rowCnt, colCnt; /* loop counters */ in arm_mat_mult_f32() local
580 col = numColsB; in arm_mat_mult_f32()
727 col--; in arm_mat_mult_f32()
729 } while (col > 0U); in arm_mat_mult_f32()
756 col = numColsB; in arm_mat_mult_f32()
825 col--; in arm_mat_mult_f32()
827 } while (col > 0U); in arm_mat_mult_f32()
861 uint32_t col, i = 0U, row = numRowsA, colCnt; /* Loop counters */ in arm_mat_mult_f32() local
887 col = numColsB; in arm_mat_mult_f32()
954 col--; in arm_mat_mult_f32()
[all …]
/hal_nxp-3.6.0/mcux/mcux-sdk/CMSIS/NN/Source/NNSupportFunctions/
Darm_nn_mat_mul_core_4x_s8.c81 : [col] "+r"(col_base), in arm_nn_mat_mul_core_4x_s8()
96 int32_t col = col_base[i]; in arm_nn_mat_mul_core_4x_s8() local
97 sum_tmp += col; in arm_nn_mat_mul_core_4x_s8()
98 acc_n0 += ip_row_0[i] * col; in arm_nn_mat_mul_core_4x_s8()
99 acc_n1 += ip_row_1[i] * col; in arm_nn_mat_mul_core_4x_s8()
100 acc_n2 += ip_row_2[i] * col; in arm_nn_mat_mul_core_4x_s8()
101 acc_n3 += ip_row_3[i] * col; in arm_nn_mat_mul_core_4x_s8()

12