/cmsis-dsp-3.7.0-3.6.0/Source/DistanceFunctions/ |
D | arm_jensenshannon_distance_f32.c | 58 f32x4_t a, b, t, tmpV, accumV; in arm_jensenshannon_distance_f32() local 70 tmpV = vmulq(a, vrecip_medprec_f32(t)); in arm_jensenshannon_distance_f32() 71 tmpV = vlogq_f32(tmpV); in arm_jensenshannon_distance_f32() 72 accumV = vfmaq(accumV, a, tmpV); in arm_jensenshannon_distance_f32() 74 tmpV = vmulq_f32(b, vrecip_medprec_f32(t)); in arm_jensenshannon_distance_f32() 75 tmpV = vlogq_f32(tmpV); in arm_jensenshannon_distance_f32() 76 accumV = vfmaq(accumV, b, tmpV); in arm_jensenshannon_distance_f32() 97 tmpV = vmulq_f32(a, vrecip_medprec_f32(t)); in arm_jensenshannon_distance_f32() 98 tmpV = vlogq_f32(tmpV); in arm_jensenshannon_distance_f32() 99 accumV = vfmaq_m_f32(accumV, a, tmpV, p0); in arm_jensenshannon_distance_f32() [all …]
|
D | arm_jensenshannon_distance_f16.c | 71 f16x8_t a, b, t, tmpV, accumV; in arm_jensenshannon_distance_f16() local 83 tmpV = vmulq(a, vrecip_medprec_f16(t)); in arm_jensenshannon_distance_f16() 84 tmpV = vlogq_f16(tmpV); in arm_jensenshannon_distance_f16() 85 accumV = vfmaq(accumV, a, tmpV); in arm_jensenshannon_distance_f16() 87 tmpV = vmulq_f16(b, vrecip_medprec_f16(t)); in arm_jensenshannon_distance_f16() 88 tmpV = vlogq_f16(tmpV); in arm_jensenshannon_distance_f16() 89 accumV = vfmaq(accumV, b, tmpV); in arm_jensenshannon_distance_f16() 110 tmpV = vmulq_f16(a, vrecip_medprec_f16(t)); in arm_jensenshannon_distance_f16() 111 tmpV = vlogq_f16(tmpV); in arm_jensenshannon_distance_f16() 112 accumV = vfmaq_m_f16(accumV, a, tmpV, p0); in arm_jensenshannon_distance_f16() [all …]
|
D | arm_minkowski_distance_f32.c | 79 f32x4_t a, b, tmpV, sumV; in arm_minkowski_distance_f32() local 88 tmpV = vabdq(a, b); in arm_minkowski_distance_f32() 89 tmpV = vpowq_f32(tmpV, vdupq_n_f32(order)); in arm_minkowski_distance_f32() 90 sumV = vaddq(sumV, tmpV); in arm_minkowski_distance_f32() 108 tmpV = vabdq(a, b); in arm_minkowski_distance_f32() 109 tmpV = vpowq_f32(tmpV, vdupq_n_f32(order)); in arm_minkowski_distance_f32() 110 sumV = vaddq_m(sumV, sumV, tmpV, p0); in arm_minkowski_distance_f32() 125 float32x4_t sumV,aV,bV, tmpV, n; in arm_minkowski_distance_f32() local 140 tmpV = vabdq_f32(aV,bV); in arm_minkowski_distance_f32() 141 tmpV = vpowq_f32(tmpV,n); in arm_minkowski_distance_f32() [all …]
|
D | arm_minkowski_distance_f16.c | 72 f16x8_t a, b, tmpV, sumV; in arm_minkowski_distance_f16() local 81 tmpV = vabdq(a, b); in arm_minkowski_distance_f16() 82 tmpV = vpowq_f16(tmpV, vdupq_n_f16(order)); in arm_minkowski_distance_f16() 83 sumV = vaddq(sumV, tmpV); in arm_minkowski_distance_f16() 101 tmpV = vabdq(a, b); in arm_minkowski_distance_f16() 102 tmpV = vpowq_f16(tmpV, vdupq_n_f16(order)); in arm_minkowski_distance_f16() 103 sumV = vaddq_m(sumV, sumV, tmpV, p0); in arm_minkowski_distance_f16()
|
D | arm_euclidean_distance_f64.c | 55 float64x2_t accumV,tmpV , pAV ,pBV; in arm_euclidean_distance_f64() local 62 tmpV = vsubq_f64(pAV, pBV); in arm_euclidean_distance_f64() 63 accumV = vmlaq_f64(accumV, tmpV, tmpV); in arm_euclidean_distance_f64()
|
/cmsis-dsp-3.7.0-3.6.0/Source/BayesFunctions/ |
D | arm_gaussian_naive_bayes_predict_f32.c | 175 float32x4_t tmpV,tmpVb,tmpV1; in arm_gaussian_naive_bayes_predict_f32() local 192 tmpV = vdupq_n_f32(0.0f); in arm_gaussian_naive_bayes_predict_f32() 211 tmpV = vmlsq_n_f32(tmpV,tmpVb,0.5f); in arm_gaussian_naive_bayes_predict_f32() 220 tmpV = vmlsq_n_f32(tmpV,tmpVb,0.5f); in arm_gaussian_naive_bayes_predict_f32() 235 tmpV2 = vpadd_f32(vget_low_f32(tmpV),vget_high_f32(tmpV)); in arm_gaussian_naive_bayes_predict_f32() 281 tmpV = vdupq_n_f32(0.0f); in arm_gaussian_naive_bayes_predict_f32() 294 tmpV = vmlsq_n_f32(tmpV,tmpVb,0.5f); in arm_gaussian_naive_bayes_predict_f32() 299 tmpV = vmlsq_n_f32(tmpV,tmpVb,0.5f); in arm_gaussian_naive_bayes_predict_f32() 307 tmpV2 = vpadd_f32(vget_low_f32(tmpV),vget_high_f32(tmpV)); in arm_gaussian_naive_bayes_predict_f32()
|
/cmsis-dsp-3.7.0-3.6.0/Source/StatisticsFunctions/ |
D | arm_logsumexp_f32.c | 129 float32x4_t tmpV, tmpVb; in arm_logsumexp_f32() local 206 tmpV = vld1q_f32(pIn); in arm_logsumexp_f32() 208 tmpV = vsubq_f32(tmpV, maxValV); in arm_logsumexp_f32() 209 tmpV = vexpq_f32(tmpV); in arm_logsumexp_f32() 210 accumV = vaddq_f32(accumV, tmpV); in arm_logsumexp_f32()
|
D | arm_entropy_f32.c | 109 float32x4_t tmpV, tmpV2; in arm_entropy_f32() local 119 tmpV = vld1q_f32(pIn); in arm_entropy_f32() 122 tmpV2 = vlogq_f32(tmpV); in arm_entropy_f32() 123 accumV = vmlaq_f32(accumV, tmpV, tmpV2); in arm_entropy_f32()
|
D | arm_kullback_leibler_f32.c | 119 float32x4_t tmpVA, tmpVB,tmpV; in arm_kullback_leibler_f32() local 136 tmpV = vinvq_f32(tmpVA); in arm_kullback_leibler_f32() 137 tmpVB = vmulq_f32(tmpVB, tmpV); in arm_kullback_leibler_f32()
|