| /cmsis-dsp-latest/Examples/ARM/arm_signal_converge_example/ |
| D | math_helper.c | 140 void arm_float_to_q12_20(float *pIn, q31_t * pOut, uint32_t numSamples) in arm_float_to_q12_20() argument 147 pOut[i] = (q31_t) (pIn[i] * 1048576.0f); in arm_float_to_q12_20() 149 pOut[i] += pIn[i] > 0 ? 0.5 : -0.5; in arm_float_to_q12_20() 151 if (pIn[i] == (float) 1.0) in arm_float_to_q12_20() 166 uint32_t arm_compare_fixed_q15(q15_t *pIn, q15_t *pOut, uint32_t numSamples) in arm_compare_fixed_q15() argument 174 diff = pIn[i] - pOut[i]; in arm_compare_fixed_q15() 194 uint32_t arm_compare_fixed_q31(q31_t *pIn, q31_t * pOut, uint32_t numSamples) in arm_compare_fixed_q31() argument 202 diff = pIn[i] - pOut[i]; in arm_compare_fixed_q31() 294 void arm_apply_guard_bits (float32_t *pIn, in arm_apply_guard_bits() argument 302 pIn[i] = pIn[i] * arm_calc_2pow(guard_bits); in arm_apply_guard_bits() [all …]
|
| /cmsis-dsp-latest/Examples/ARM/arm_convolution_example/ |
| D | math_helper.c | 140 void arm_float_to_q12_20(float *pIn, q31_t * pOut, uint32_t numSamples) in arm_float_to_q12_20() argument 147 pOut[i] = (q31_t) (pIn[i] * 1048576.0f); in arm_float_to_q12_20() 149 pOut[i] += pIn[i] > 0 ? 0.5 : -0.5; in arm_float_to_q12_20() 151 if (pIn[i] == (float) 1.0) in arm_float_to_q12_20() 166 uint32_t arm_compare_fixed_q15(q15_t *pIn, q15_t *pOut, uint32_t numSamples) in arm_compare_fixed_q15() argument 174 diff = pIn[i] - pOut[i]; in arm_compare_fixed_q15() 194 uint32_t arm_compare_fixed_q31(q31_t *pIn, q31_t * pOut, uint32_t numSamples) in arm_compare_fixed_q31() argument 202 diff = pIn[i] - pOut[i]; in arm_compare_fixed_q31() 294 void arm_apply_guard_bits (float32_t *pIn, in arm_apply_guard_bits() argument 302 pIn[i] = pIn[i] * arm_calc_2pow(guard_bits); in arm_apply_guard_bits() [all …]
|
| /cmsis-dsp-latest/Examples/ARM/arm_matrix_example/ |
| D | math_helper.c | 140 void arm_float_to_q12_20(float *pIn, q31_t * pOut, uint32_t numSamples) in arm_float_to_q12_20() argument 147 pOut[i] = (q31_t) (pIn[i] * 1048576.0f); in arm_float_to_q12_20() 149 pOut[i] += pIn[i] > 0 ? 0.5 : -0.5; in arm_float_to_q12_20() 151 if (pIn[i] == (float) 1.0) in arm_float_to_q12_20() 166 uint32_t arm_compare_fixed_q15(q15_t *pIn, q15_t *pOut, uint32_t numSamples) in arm_compare_fixed_q15() argument 174 diff = pIn[i] - pOut[i]; in arm_compare_fixed_q15() 194 uint32_t arm_compare_fixed_q31(q31_t *pIn, q31_t * pOut, uint32_t numSamples) in arm_compare_fixed_q31() argument 202 diff = pIn[i] - pOut[i]; in arm_compare_fixed_q31() 294 void arm_apply_guard_bits (float32_t *pIn, in arm_apply_guard_bits() argument 302 pIn[i] = pIn[i] * arm_calc_2pow(guard_bits); in arm_apply_guard_bits() [all …]
|
| /cmsis-dsp-latest/Examples/ARM/arm_fir_example/ |
| D | math_helper.c | 140 void arm_float_to_q12_20(float *pIn, q31_t * pOut, uint32_t numSamples) in arm_float_to_q12_20() argument 147 pOut[i] = (q31_t) (pIn[i] * 1048576.0f); in arm_float_to_q12_20() 149 pOut[i] += pIn[i] > 0 ? 0.5 : -0.5; in arm_float_to_q12_20() 151 if (pIn[i] == (float) 1.0) in arm_float_to_q12_20() 166 uint32_t arm_compare_fixed_q15(q15_t *pIn, q15_t *pOut, uint32_t numSamples) in arm_compare_fixed_q15() argument 174 diff = pIn[i] - pOut[i]; in arm_compare_fixed_q15() 194 uint32_t arm_compare_fixed_q31(q31_t *pIn, q31_t * pOut, uint32_t numSamples) in arm_compare_fixed_q31() argument 202 diff = pIn[i] - pOut[i]; in arm_compare_fixed_q31() 294 void arm_apply_guard_bits (float32_t *pIn, in arm_apply_guard_bits() argument 302 pIn[i] = pIn[i] * arm_calc_2pow(guard_bits); in arm_apply_guard_bits() [all …]
|
| /cmsis-dsp-latest/Examples/ARM/arm_graphic_equalizer_example/ |
| D | math_helper.c | 140 void arm_float_to_q12_20(float *pIn, q31_t * pOut, uint32_t numSamples) in arm_float_to_q12_20() argument 147 pOut[i] = (q31_t) (pIn[i] * 1048576.0f); in arm_float_to_q12_20() 149 pOut[i] += pIn[i] > 0 ? 0.5 : -0.5; in arm_float_to_q12_20() 151 if (pIn[i] == (float) 1.0) in arm_float_to_q12_20() 166 uint32_t arm_compare_fixed_q15(q15_t *pIn, q15_t *pOut, uint32_t numSamples) in arm_compare_fixed_q15() argument 174 diff = pIn[i] - pOut[i]; in arm_compare_fixed_q15() 194 uint32_t arm_compare_fixed_q31(q31_t *pIn, q31_t * pOut, uint32_t numSamples) in arm_compare_fixed_q31() argument 202 diff = pIn[i] - pOut[i]; in arm_compare_fixed_q31() 294 void arm_apply_guard_bits (float32_t *pIn, in arm_apply_guard_bits() argument 302 pIn[i] = pIn[i] * arm_calc_2pow(guard_bits); in arm_apply_guard_bits() [all …]
|
| /cmsis-dsp-latest/Examples/ARM/arm_linear_interp_example/ |
| D | math_helper.c | 140 void arm_float_to_q12_20(float *pIn, q31_t * pOut, uint32_t numSamples) in arm_float_to_q12_20() argument 147 pOut[i] = (q31_t) (pIn[i] * 1048576.0f); in arm_float_to_q12_20() 149 pOut[i] += pIn[i] > 0 ? 0.5 : -0.5; in arm_float_to_q12_20() 151 if (pIn[i] == (float) 1.0) in arm_float_to_q12_20() 166 uint32_t arm_compare_fixed_q15(q15_t *pIn, q15_t *pOut, uint32_t numSamples) in arm_compare_fixed_q15() argument 174 diff = pIn[i] - pOut[i]; in arm_compare_fixed_q15() 194 uint32_t arm_compare_fixed_q31(q31_t *pIn, q31_t * pOut, uint32_t numSamples) in arm_compare_fixed_q31() argument 202 diff = pIn[i] - pOut[i]; in arm_compare_fixed_q31() 294 void arm_apply_guard_bits (float32_t *pIn, in arm_apply_guard_bits() argument 302 pIn[i] = pIn[i] * arm_calc_2pow(guard_bits); in arm_apply_guard_bits() [all …]
|
| /cmsis-dsp-latest/Source/StatisticsFunctions/ |
| D | arm_logsumexp_f32.c | 72 const float32_t *pIn; in arm_logsumexp_f32() local 82 pIn = in; in arm_logsumexp_f32() 89 f32x4_t vecIn = vld1q(pIn); in arm_logsumexp_f32() 100 pIn += 4; in arm_logsumexp_f32() 110 tmp = *pIn++; in arm_logsumexp_f32() 135 const float32_t *pIn; in arm_logsumexp_f32() local 139 pIn = in; in arm_logsumexp_f32() 145 maxVal = *pIn++; in arm_logsumexp_f32() 150 tmp = *pIn++; in arm_logsumexp_f32() 161 maxValV = vld1q_f32(pIn); in arm_logsumexp_f32() [all …]
|
| D | arm_logsumexp_f16.c | 75 const float16_t *pIn; in arm_logsumexp_f16() local 85 pIn = in; in arm_logsumexp_f16() 92 f16x8_t vecIn = vld1q(pIn); in arm_logsumexp_f16() 103 pIn += 8; in arm_logsumexp_f16() 113 tmp = *pIn++; in arm_logsumexp_f16() 129 const float16_t *pIn; in arm_logsumexp_f16() local 133 pIn = in; in arm_logsumexp_f16() 136 maxVal = *pIn++; in arm_logsumexp_f16() 141 tmp = *pIn++; in arm_logsumexp_f16() 152 pIn = in; in arm_logsumexp_f16() [all …]
|
| /cmsis-dsp-latest/Source/SupportFunctions/ |
| D | arm_float_to_q31.c | 138 const float32_t *pIn = pSrc; /* Src pointer */ in arm_float_to_q31() local 164 inV = vld1q_f32(pIn); in arm_float_to_q31() 169 pIn += 4; in arm_float_to_q31() 180 inV = vld1q_f32(pIn); in arm_float_to_q31() 186 pIn += 4; in arm_float_to_q31() 205 in = *pIn++; in arm_float_to_q31() 214 *pDst++ = clip_q63_to_q31((q63_t) (*pIn++ * 2147483648.0f)); in arm_float_to_q31() 231 const float32_t *pIn = pSrc; /* Source pointer */ in arm_float_to_q31() local 249 in = (*pIn++ * 2147483648.0f); in arm_float_to_q31() 253 in = (*pIn++ * 2147483648.0f); in arm_float_to_q31() [all …]
|
| D | arm_float_to_q7.c | 144 const float32_t *pIn = pSrc; /* Src pointer */ in arm_float_to_q7() local 170 inV = vld1q_f32(pIn); in arm_float_to_q7() 175 pIn += 4; in arm_float_to_q7() 177 inV = vld1q_f32(pIn); in arm_float_to_q7() 182 pIn += 4; in arm_float_to_q7() 192 inV = vld1q_f32(pIn); in arm_float_to_q7() 194 pIn += 4; in arm_float_to_q7() 196 inV = vld1q_f32(pIn); in arm_float_to_q7() 198 pIn += 4; in arm_float_to_q7() 220 in = *pIn++; in arm_float_to_q7() [all …]
|
| D | arm_float_to_q15.c | 129 const float32_t *pIn = pSrc; /* Src pointer */ in arm_float_to_q15() local 155 inV = vld1q_f32(pIn); in arm_float_to_q15() 160 pIn += 4; in arm_float_to_q15() 172 inV = vld1q_f32(pIn); in arm_float_to_q15() 179 pIn += 4; in arm_float_to_q15() 197 in = *pIn++; in arm_float_to_q15() 206 *pDst++ = (q15_t) __SSAT((q31_t) (*pIn++ * 32768.0f), 16); in arm_float_to_q15() 221 const float32_t *pIn = pSrc; /* Source pointer */ in arm_float_to_q15() local 239 in = (*pIn++ * 32768.0f); in arm_float_to_q15() 243 in = (*pIn++ * 32768.0f); in arm_float_to_q15() [all …]
|
| D | arm_f64_to_q31.c | 69 const float64_t *pIn = pSrc; /* Source pointer */ in arm_f64_to_q31() local 87 in = (*pIn++ * 2147483648.0); in arm_f64_to_q31() 91 in = (*pIn++ * 2147483648.0); in arm_f64_to_q31() 95 in = (*pIn++ * 2147483648.0); in arm_f64_to_q31() 99 in = (*pIn++ * 2147483648.0); in arm_f64_to_q31() 107 *pDst++ = clip_q63_to_q31((q63_t) (*pIn++ * 2147483648.0)); in arm_f64_to_q31() 108 *pDst++ = clip_q63_to_q31((q63_t) (*pIn++ * 2147483648.0)); in arm_f64_to_q31() 109 *pDst++ = clip_q63_to_q31((q63_t) (*pIn++ * 2147483648.0)); in arm_f64_to_q31() 110 *pDst++ = clip_q63_to_q31((q63_t) (*pIn++ * 2147483648.0)); in arm_f64_to_q31() 135 in = (*pIn++ * 2147483648.0); in arm_f64_to_q31() [all …]
|
| D | arm_f64_to_q15.c | 67 const float64_t *pIn = pSrc; /* Source pointer */ in arm_f64_to_q15() local 84 in = (*pIn++ * 32768.0); in arm_f64_to_q15() 88 in = (*pIn++ * 32768.0); in arm_f64_to_q15() 92 in = (*pIn++ * 32768.0); in arm_f64_to_q15() 96 in = (*pIn++ * 32768.0); in arm_f64_to_q15() 102 *pDst++ = (q15_t) __SSAT((q31_t) (*pIn++ * 32768.0), 16); in arm_f64_to_q15() 103 *pDst++ = (q15_t) __SSAT((q31_t) (*pIn++ * 32768.0), 16); in arm_f64_to_q15() 104 *pDst++ = (q15_t) __SSAT((q31_t) (*pIn++ * 32768.0), 16); in arm_f64_to_q15() 105 *pDst++ = (q15_t) __SSAT((q31_t) (*pIn++ * 32768.0), 16); in arm_f64_to_q15() 130 in = (*pIn++ * 32768.0); in arm_f64_to_q15() [all …]
|
| D | arm_f64_to_q7.c | 67 const float64_t *pIn = pSrc; /* Source pointer */ in arm_f64_to_q7() local 85 in = (*pIn++ * 128); in arm_f64_to_q7() 89 in = (*pIn++ * 128); in arm_f64_to_q7() 93 in = (*pIn++ * 128); in arm_f64_to_q7() 97 in = (*pIn++ * 128); in arm_f64_to_q7() 103 *pDst++ = __SSAT((q31_t) (*pIn++ * 128.0), 8); in arm_f64_to_q7() 104 *pDst++ = __SSAT((q31_t) (*pIn++ * 128.0), 8); in arm_f64_to_q7() 105 *pDst++ = __SSAT((q31_t) (*pIn++ * 128.0), 8); in arm_f64_to_q7() 106 *pDst++ = __SSAT((q31_t) (*pIn++ * 128.0), 8); in arm_f64_to_q7() 131 in = (*pIn++ * 128); in arm_f64_to_q7() [all …]
|
| D | arm_weighted_average_f32.c | 60 const float32_t *pIn, *pW; in arm_weighted_average_f32() local 64 pIn = in; in arm_weighted_average_f32() 74 inV = vld1q(pIn); in arm_weighted_average_f32() 77 pIn += 4; in arm_weighted_average_f32() 91 accum1 += *pIn++ * *pW; in arm_weighted_average_f32() 113 const float32_t *pIn, *pW; in arm_weighted_average_f32() local 117 pIn = in; in arm_weighted_average_f32() 129 inV = vld1q_f32(pIn); in arm_weighted_average_f32() 132 pIn += 4; in arm_weighted_average_f32() 149 accum1 += *pIn++ * *pW; in arm_weighted_average_f32() [all …]
|
| D | arm_q31_to_float.c | 105 const q31_t *pIn = pSrc; /* Src pointer */ in arm_q31_to_float() local 119 inV = vld1q_s32(pIn); in arm_q31_to_float() 120 pIn += 4; in arm_q31_to_float() 140 *pDst++ = ((float32_t) * pIn++ / 2147483648.0f); in arm_q31_to_float() 152 const q31_t *pIn = pSrc; /* Src pointer */ in arm_q31_to_float() local 165 *pDst++ = ((float32_t) *pIn++ / 2147483648.0f); in arm_q31_to_float() 166 *pDst++ = ((float32_t) *pIn++ / 2147483648.0f); in arm_q31_to_float() 167 *pDst++ = ((float32_t) *pIn++ / 2147483648.0f); in arm_q31_to_float() 168 *pDst++ = ((float32_t) *pIn++ / 2147483648.0f); in arm_q31_to_float() 189 *pDst++ = ((float32_t) *pIn++ / 2147483648.0f); in arm_q31_to_float()
|
| /cmsis-dsp-latest/Source/MatrixFunctions/ |
| D | arm_mat_trans_f32.c | 120 float32_t *pIn = pSrc->pData; /* input data matrix pointer */ in arm_mat_trans_f32() local 158 row0V = vld1q_f32(pIn); in arm_mat_trans_f32() 159 row1V = vld1q_f32(pIn + 1 * nColumns); in arm_mat_trans_f32() 160 row2V = vld1q_f32(pIn + 2 * nColumns); in arm_mat_trans_f32() 161 row3V = vld1q_f32(pIn + 3 * nColumns); in arm_mat_trans_f32() 162 pIn += 4; in arm_mat_trans_f32() 192 *px++ = *pIn; in arm_mat_trans_f32() 193 *px++ = *(pIn + 1 * nColumns); in arm_mat_trans_f32() 194 *px++ = *(pIn + 2 * nColumns); in arm_mat_trans_f32() 195 *px++ = *(pIn + 3 * nColumns); in arm_mat_trans_f32() [all …]
|
| D | arm_mat_trans_f64.c | 63 float64_t *pIn = pSrc->pData; /* input data matrix pointer */ in arm_mat_trans_f64() local 101 row0 = pIn; in arm_mat_trans_f64() 102 row1 = pIn+nColumns; in arm_mat_trans_f64() 103 pIn+=4; in arm_mat_trans_f64() 129 *px++ = *pIn; in arm_mat_trans_f64() 130 *px++ = *(pIn + 1 * nColumns); in arm_mat_trans_f64() 133 pIn++; in arm_mat_trans_f64() 140 pIn += 1 * nColumns; in arm_mat_trans_f64() 157 *px = *pIn++; in arm_mat_trans_f64() 181 float64_t *pIn = pSrc->pData; /* input data matrix pointer */ in arm_mat_trans_f64() local [all …]
|
| /cmsis-dsp-latest/Source/FilteringFunctions/ |
| D | arm_biquad_cascade_stereo_df2T_f32.c | 56 const float32_t *pIn = pSrc; /* source pointer */ in arm_biquad_cascade_stereo_df2T_f32() local 131 inVec = (f32x4_t)vldrwq_gather_shifted_offset((uint32_t const *) pIn, loadIdxVec); in arm_biquad_cascade_stereo_df2T_f32() 154 pIn = pIn + 2; in arm_biquad_cascade_stereo_df2T_f32() 167 pIn = pDst; in arm_biquad_cascade_stereo_df2T_f32() 188 const float32_t *pIn = pSrc; /* Source pointer */ in arm_biquad_cascade_stereo_df2T_f32() local 226 Xn1a = *pIn++; /* Channel a */ in arm_biquad_cascade_stereo_df2T_f32() 227 Xn1b = *pIn++; /* Channel b */ in arm_biquad_cascade_stereo_df2T_f32() 242 Xn1a = *pIn++; /* Channel a */ in arm_biquad_cascade_stereo_df2T_f32() 243 Xn1b = *pIn++; /* Channel b */ in arm_biquad_cascade_stereo_df2T_f32() 258 Xn1a = *pIn++; /* Channel a */ in arm_biquad_cascade_stereo_df2T_f32() [all …]
|
| D | arm_biquad_cascade_df2T_f64.c | 153 const float64_t *pIn = pSrc; /* source pointer */ in arm_biquad_cascade_df2T_f64() local 188 Xn0 = *pIn++ ; in arm_biquad_cascade_df2T_f64() 219 Xn0 = *pIn++ ; in arm_biquad_cascade_df2T_f64() 255 Xn0 = *pIn++ ; in arm_biquad_cascade_df2T_f64() 290 pIn = pDst; in arm_biquad_cascade_df2T_f64() 309 const float64_t *pIn = pSrc; /* Source pointer */ in arm_biquad_cascade_df2T_f64() local 347 Xn1 = *pIn++; in arm_biquad_cascade_df2T_f64() 361 Xn1 = *pIn++; in arm_biquad_cascade_df2T_f64() 374 Xn1 = *pIn++; in arm_biquad_cascade_df2T_f64() 387 Xn1 = *pIn++; in arm_biquad_cascade_df2T_f64() [all …]
|
| D | arm_biquad_cascade_df1_f16.c | 59 float16_t *pIn = (float16_t *)pSrc; /* source pointer */ in arm_biquad_cascade_df1_f16() local 88 X0 = *pIn++; in arm_biquad_cascade_df1_f16() 89 X1 = *pIn++; in arm_biquad_cascade_df1_f16() 90 X2 = *pIn++; in arm_biquad_cascade_df1_f16() 91 X3 = *pIn++; in arm_biquad_cascade_df1_f16() 92 X4 = *pIn++; in arm_biquad_cascade_df1_f16() 93 X5 = *pIn++; in arm_biquad_cascade_df1_f16() 94 X6 = *pIn++; in arm_biquad_cascade_df1_f16() 95 X7 = *pIn++; in arm_biquad_cascade_df1_f16() 162 X0 = *pIn++; in arm_biquad_cascade_df1_f16() [all …]
|
| D | arm_biquad_cascade_stereo_df2T_f16.c | 60 float16_t *pIn = (float16_t *)pSrc; /* source pointer */ in arm_biquad_cascade_stereo_df2T_f16() local 141 inVec = vldrhq_gather_shifted_offset_f16(pIn, loadIdxVec); in arm_biquad_cascade_stereo_df2T_f16() 166 pIn = pIn + 2; in arm_biquad_cascade_stereo_df2T_f16() 181 pIn = pDst; in arm_biquad_cascade_stereo_df2T_f16() 201 const float16_t *pIn = pSrc; /* Source pointer */ in arm_biquad_cascade_stereo_df2T_f16() local 239 Xn1a = *pIn++; /* Channel a */ in arm_biquad_cascade_stereo_df2T_f16() 240 Xn1b = *pIn++; /* Channel b */ in arm_biquad_cascade_stereo_df2T_f16() 255 Xn1a = *pIn++; /* Channel a */ in arm_biquad_cascade_stereo_df2T_f16() 256 Xn1b = *pIn++; /* Channel b */ in arm_biquad_cascade_stereo_df2T_f16() 271 Xn1a = *pIn++; /* Channel a */ in arm_biquad_cascade_stereo_df2T_f16() [all …]
|
| D | arm_biquad_cascade_df2T_f16.c | 56 float16_t *pIn = (float16_t *)pSrc; /* source pointer */ in arm_biquad_cascade_df2T_f16() local 102 Xn0 = *pIn++; in arm_biquad_cascade_df2T_f16() 103 Xn1 = *pIn++; in arm_biquad_cascade_df2T_f16() 158 Xn0 = *pIn++; in arm_biquad_cascade_df2T_f16() 175 pIn = pDst; in arm_biquad_cascade_df2T_f16() 195 const float16_t *pIn = pSrc; /* Source pointer */ in arm_biquad_cascade_df2T_f16() local 232 Xn1 = *pIn++; in arm_biquad_cascade_df2T_f16() 245 Xn1 = *pIn++; in arm_biquad_cascade_df2T_f16() 258 Xn1 = *pIn++; in arm_biquad_cascade_df2T_f16() 271 Xn1 = *pIn++; in arm_biquad_cascade_df2T_f16() [all …]
|
| D | arm_biquad_cascade_df2T_f32.c | 56 const float32_t *pIn = pSrc; /* source pointer */ in arm_biquad_cascade_df2T_f32() local 102 Xn0 = *pIn++; in arm_biquad_cascade_df2T_f32() 103 Xn1 = *pIn++; in arm_biquad_cascade_df2T_f32() 152 Xn0 = *pIn++; in arm_biquad_cascade_df2T_f32() 169 pIn = pDst; in arm_biquad_cascade_df2T_f32() 190 const float32_t *pIn = pSrc; /* source pointer */ in arm_biquad_cascade_df2T_f32() local 246 XnV = vdupq_n_f32(*pIn++); in arm_biquad_cascade_df2T_f32() 280 pIn = pDst; in arm_biquad_cascade_df2T_f32() 311 Xn1 = *pIn++; in arm_biquad_cascade_df2T_f32() 335 pIn = pDst; in arm_biquad_cascade_df2T_f32() [all …]
|
| /cmsis-dsp-latest/Source/BayesFunctions/ |
| D | arm_gaussian_naive_bayes_predict_f32.c | 68 const float32_t *pIn = in; in arm_gaussian_naive_bayes_predict_f32() local 83 pIn = in; in arm_gaussian_naive_bayes_predict_f32() 97 vtmp = vsubq(vld1q(pIn), vld1q(pTheta)); in arm_gaussian_naive_bayes_predict_f32() 103 pIn += 4; in arm_gaussian_naive_bayes_predict_f32() 120 vtmp = vsubq(vld1q(pIn), vld1q(pTheta)); in arm_gaussian_naive_bayes_predict_f32() 165 const float32_t *pIn=in; in arm_gaussian_naive_bayes_predict_f32() local 188 pIn = in; in arm_gaussian_naive_bayes_predict_f32() 204 inV = vld1q_f32(pIn); in arm_gaussian_naive_bayes_predict_f32() 227 pIn += 4; in arm_gaussian_naive_bayes_predict_f32() 248 tmp -= 0.5f*(*pIn - *pTheta) * (*pIn - *pTheta) / sigma; in arm_gaussian_naive_bayes_predict_f32() [all …]
|