/hal_nxp-3.6.0/mcux/mcux-sdk/CMSIS/DSP/Source/DistanceFunctions/ |
D | arm_correlation_distance_f16.c | 68 float16_t ma,mb,pwra,pwrb,dot,tmp; in arm_correlation_distance_f16() local 79 arm_dot_prod_f16(pA,pB,blockSize,&dot); in arm_correlation_distance_f16() 81 dot = dot / blockSize; in arm_correlation_distance_f16() 87 return(1.0f - dot / tmp); in arm_correlation_distance_f16()
|
D | arm_correlation_distance_f32.c | 56 float32_t ma,mb,pwra,pwrb,dot,tmp; in arm_correlation_distance_f32() local 67 arm_dot_prod_f32(pA,pB,blockSize,&dot); in arm_correlation_distance_f32() 69 dot = dot / blockSize; in arm_correlation_distance_f32() 75 return(1.0f - dot / tmp); in arm_correlation_distance_f32()
|
D | arm_cosine_distance_f32.c | 54 float32_t pwra,pwrb,dot,tmp; in arm_cosine_distance_f32() local 59 arm_dot_prod_f32(pA,pB,blockSize,&dot); in arm_cosine_distance_f32() 62 return(1.0f - dot / tmp); in arm_cosine_distance_f32()
|
D | arm_cosine_distance_f16.c | 67 float16_t pwra,pwrb,dot,tmp; in arm_cosine_distance_f16() local 72 arm_dot_prod_f16(pA,pB,blockSize,&dot); in arm_cosine_distance_f16() 75 return(1.0f - dot / tmp); in arm_cosine_distance_f16()
|
/hal_nxp-3.6.0/mcux/mcux-sdk/CMSIS/DSP/Source/SVMFunctions/ |
D | arm_svm_linear_predict_f32.c | 293 float32_t dot; in arm_svm_linear_predict_f32() local 400 dot = 0.0f; in arm_svm_linear_predict_f32() 417 dot = vget_lane_f32(accum2, 0) + vget_lane_f32(accum2, 1); in arm_svm_linear_predict_f32() 423 dot = dot + *pIn++ * *pSupport++; in arm_svm_linear_predict_f32() 428 sum += *pDualCoefs++ * dot; in arm_svm_linear_predict_f32() 441 float32_t dot=0; in arm_svm_linear_predict_f32() local 447 dot=0; in arm_svm_linear_predict_f32() 450 dot = dot + in[j]* *pSupport++; in arm_svm_linear_predict_f32() 452 sum += S->dualCoefficients[i] * dot; in arm_svm_linear_predict_f32()
|
D | arm_svm_sigmoid_predict_f32.c | 311 float32_t dot; in arm_svm_sigmoid_predict_f32() local 425 dot = 0.0f; in arm_svm_sigmoid_predict_f32() 442 dot = vget_lane_f32(accum2, 0) + vget_lane_f32(accum2, 1); in arm_svm_sigmoid_predict_f32() 448 dot = dot + *pIn++ * *pSupport++; in arm_svm_sigmoid_predict_f32() 453 sum += *pDualCoefs++ * tanhf(S->gamma * dot + S->coef0); in arm_svm_sigmoid_predict_f32() 466 float32_t dot=0; in arm_svm_sigmoid_predict_f32() local 472 dot=0; in arm_svm_sigmoid_predict_f32() 475 dot = dot + in[j]* *pSupport++; in arm_svm_sigmoid_predict_f32() 477 sum += S->dualCoefficients[i] * tanhf(S->gamma * dot + S->coef0); in arm_svm_sigmoid_predict_f32()
|
D | arm_svm_polynomial_predict_f32.c | 313 float32_t dot; in arm_svm_polynomial_predict_f32() local 427 dot = 0.0f; in arm_svm_polynomial_predict_f32() 444 dot = vget_lane_f32(accum2, 0) + vget_lane_f32(accum2, 1); in arm_svm_polynomial_predict_f32() 450 dot = dot + *pIn++ * *pSupport++; in arm_svm_polynomial_predict_f32() 455 sum += *pDualCoefs++ * arm_exponent_f32(S->gamma * dot + S->coef0, S->degree); in arm_svm_polynomial_predict_f32() 468 float32_t dot=0; in arm_svm_polynomial_predict_f32() local 474 dot=0; in arm_svm_polynomial_predict_f32() 477 dot = dot + in[j]* *pSupport++; in arm_svm_polynomial_predict_f32() 479 sum += S->dualCoefficients[i] * arm_exponent_f32(S->gamma * dot + S->coef0, S->degree); in arm_svm_polynomial_predict_f32()
|
D | arm_svm_rbf_predict_f32.c | 331 float32_t dot; in arm_svm_rbf_predict_f32() local 456 dot = 0.0f; in arm_svm_rbf_predict_f32() 474 dot = vget_lane_f32(accum2, 0) + vget_lane_f32(accum2, 1); in arm_svm_rbf_predict_f32() 481 dot = dot + SQ(*pIn - *pSupport); in arm_svm_rbf_predict_f32() 488 sum += *pDualCoefs++ * expf(-S->gamma * dot); in arm_svm_rbf_predict_f32() 501 float32_t dot=0; in arm_svm_rbf_predict_f32() local 507 dot=0; in arm_svm_rbf_predict_f32() 510 dot = dot + SQ(in[j] - *pSupport); in arm_svm_rbf_predict_f32() 513 sum += S->dualCoefficients[i] * expf(-S->gamma * dot); in arm_svm_rbf_predict_f32()
|
D | arm_svm_linear_predict_f16.c | 292 _Float16 dot=0; in arm_svm_linear_predict_f16() local 298 dot=0; in arm_svm_linear_predict_f16() 301 dot = dot + in[j]* *pSupport++; in arm_svm_linear_predict_f16() 303 sum += S->dualCoefficients[i] * dot; in arm_svm_linear_predict_f16()
|
D | arm_svm_sigmoid_predict_f16.c | 310 _Float16 dot=0.0f16; in arm_svm_sigmoid_predict_f16() local 316 dot=0.0f16; in arm_svm_sigmoid_predict_f16() 319 dot = dot + (_Float16)in[j] * (_Float16)*pSupport++; in arm_svm_sigmoid_predict_f16() 321 …sum += (_Float16)S->dualCoefficients[i] * (_Float16)tanhf((_Float16)S->gamma * dot + (_Float16)S->… in arm_svm_sigmoid_predict_f16()
|
D | arm_svm_polynomial_predict_f16.c | 312 _Float16 dot=0; in arm_svm_polynomial_predict_f16() local 318 dot=0; in arm_svm_polynomial_predict_f16() 321 dot = dot + (_Float16)in[j]* (_Float16)*pSupport++; in arm_svm_polynomial_predict_f16() 323 … sum += S->dualCoefficients[i] * (_Float16)arm_exponent_f16(S->gamma * dot + S->coef0, S->degree); in arm_svm_polynomial_predict_f16()
|
D | arm_svm_rbf_predict_f16.c | 328 _Float16 dot=00.f16; in arm_svm_rbf_predict_f16() local 334 dot=0.0f16; in arm_svm_rbf_predict_f16() 337 dot = dot + SQ((_Float16)in[j] - (_Float16) *pSupport); in arm_svm_rbf_predict_f16() 340 sum += (_Float16)S->dualCoefficients[i] * (_Float16)expf(-(_Float16)S->gamma * dot); in arm_svm_rbf_predict_f16()
|