| /cmsis-dsp-latest/Testing/Source/Tests/ |
| D | DistanceTestsF16.cpp | 29 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_braycurtis_distance_f16() 48 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_canberra_distance_f16() 67 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_chebyshev_distance_f16() 86 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_cityblock_distance_f16() 111 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_correlation_distance_f16() 130 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_cosine_distance_f16() 149 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_euclidean_distance_f16() 170 ASSERT_REL_ERROR(output,ref,REL_JS_ERROR); in test_jensenshannon_distance_f16() 192 ASSERT_REL_ERROR(output,ref,REL_MK_ERROR); in test_minkowski_distance_f16()
|
| D | BasicTestsF16.cpp | 33 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_add_f16() 48 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_clip_f16() 63 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_sub_f16() 78 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_mult_f16() 95 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_negate_f16() 112 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_offset_f16() 129 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_scale_f16() 146 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_dot_prod_f16() 166 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_abs_f16()
|
| D | BasicTestsF32.cpp | 30 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_add_f32() 45 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_clip_f32() 59 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_sub_f32() 73 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_mult_f32() 89 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_negate_f32() 105 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_offset_f32() 121 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_scale_f32() 137 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_dot_prod_f32() 156 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_abs_f32()
|
| D | BasicTestsF64.cpp | 30 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_add_f64() 60 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_sub_f64() 74 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_mult_f64() 90 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_negate_f64() 106 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_offset_f64() 122 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_scale_f64() 138 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_dot_prod_f64() 157 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_abs_f64()
|
| D | BIQUADF32.cpp | 84 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_biquad_cascade_df1_ref() 158 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_biquad_cascade_df2T_ref() 235 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_biquad_cascade_df1_rand() 322 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_biquad_cascade_df2T_rand() 393 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_biquad_cascade_stereo_df2T_rand()
|
| D | ComplexTestsF16.cpp | 21 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_cmplx_conj_f16() 42 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_cmplx_dot_prod_f16() 58 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_cmplx_mag_f16() 73 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_cmplx_mag_squared_f16() 89 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_cmplx_mult_cmplx_f16() 105 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_cmplx_mult_real_f16()
|
| D | ComplexTestsF32.cpp | 21 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_cmplx_conj_f32() 42 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_cmplx_dot_prod_f32() 58 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_cmplx_mag_f32() 73 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_cmplx_mag_squared_f32() 89 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_cmplx_mult_cmplx_f32() 105 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_cmplx_mult_real_f32()
|
| D | StatsTestsF32.cpp | 218 ASSERT_REL_ERROR(result,refp[this->refOffset],REL_ERROR); in test_mean_f32() 240 ASSERT_REL_ERROR(result,refp[this->refOffset],REL_ERROR); in test_power_f32() 262 ASSERT_REL_ERROR(result,refp[this->refOffset],REL_ERROR); in test_rms_f32() 284 ASSERT_REL_ERROR(result,refp[this->refOffset],REL_ERROR); in test_std_f32() 306 ASSERT_REL_ERROR(result,refp[this->refOffset],REL_ERROR); in test_var_f32() 371 ASSERT_REL_ERROR(ref,output,REL_ERROR); in test_entropy_f32() 391 ASSERT_REL_ERROR(ref,output,REL_ERROR); in test_logsumexp_f32() 413 ASSERT_REL_ERROR(ref,output,REL_ERROR); in test_kullback_leibler_f32() 435 ASSERT_REL_ERROR(ref,output,REL_ERROR); in test_logsumexp_dot_prod_f32() 458 ASSERT_REL_ERROR(result,refp[this->refOffset],(float32_t)REL_ERROR); in test_mse_f32() [all …]
|
| D | SupportTestsF16.cpp | 94 ASSERT_REL_ERROR(refF32,outputF32,REL_ERROR_F32); in test_f16_f32() 108 ASSERT_REL_ERROR(refF64,outputF64,REL_ERROR_F32); in test_f16_f64() 122 ASSERT_REL_ERROR(ref,output,REL_Q15_ERROR); in test_q15_f16() 136 ASSERT_REL_ERROR(ref,output,REL_ERROR); in test_f32_f16() 150 ASSERT_REL_ERROR(ref,output,REL_ERROR); in test_f64_f16()
|
| D | StatsTestsF16.cpp | 225 ASSERT_REL_ERROR(result,refp[this->refOffset],REL_ERROR); in test_mean_f16() 247 ASSERT_REL_ERROR(result,refp[this->refOffset],REL_ERROR); in test_power_f16() 269 ASSERT_REL_ERROR(result,refp[this->refOffset],REL_ERROR); in test_rms_f16() 291 ASSERT_REL_ERROR(result,refp[this->refOffset],REL_ERROR); in test_std_f16() 313 ASSERT_REL_ERROR(result,refp[this->refOffset],REL_ERROR); in test_var_f16() 378 ASSERT_REL_ERROR(ref,output,REL_ERROR); in test_entropy_f16() 398 ASSERT_REL_ERROR(ref,output,REL_ERROR); in test_logsumexp_f16() 442 ASSERT_REL_ERROR(ref,output,REL_ERROR); in test_logsumexp_dot_prod_f16() 464 ASSERT_REL_ERROR(result,refp[this->refOffset],(float16_t)REL_ERROR); in test_mse_f16() 483 ASSERT_REL_ERROR(ref,output,REL_ERROR_ACCUMULATE); in test_accumulate_f16()
|
| D | BIQUADF64.cpp | 72 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_biquad_cascade_df2T_ref() 145 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_biquad_cascade_df2T_rand()
|
| D | DECIMF32.cpp | 67 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_fir_decimate_f32() 123 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_fir_interpolate_f32()
|
| D | DECIMF64.cpp | 67 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_fir_decimate_f64() 124 ASSERT_REL_ERROR(output,ref,REL_ERROR);
|
| D | StatsTestsF64.cpp | 218 ASSERT_REL_ERROR(result,refp[this->refOffset],REL_ERROR); in test_mean_f64() 240 ASSERT_REL_ERROR(result,refp[this->refOffset],REL_ERROR); in test_power_f64() 285 ASSERT_REL_ERROR(result,refp[this->refOffset],REL_ERROR); in test_std_f64() 307 ASSERT_REL_ERROR(result,refp[this->refOffset],REL_ERROR); in test_var_f64() 372 ASSERT_REL_ERROR(ref,output,REL_ERROR); in test_entropy_f64() 414 ASSERT_REL_ERROR(ref,output,REL_ERROR); in test_kullback_leibler_f64() 461 ASSERT_REL_ERROR(result,refp[this->refOffset],(float64_t)REL_ERROR); in test_mse_f64() 480 ASSERT_REL_ERROR(ref,output,REL_ERROR); in test_accumulate_f64()
|
| D | ComplexTestsF64.cpp | 59 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_cmplx_mag_f64() 74 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_cmplx_mag_squared_f64() 90 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_cmplx_mult_cmplx_f64()
|
| D | InterpolationTestsF32.cpp | 32 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_linear_interp_f32() 54 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_bilinear_interp_f32()
|
| D | ExampleCategoryF32.cpp | 46 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_op_f32()
|
| D | SupportTestsQ31.cpp | 53 ASSERT_REL_ERROR(refF64,outputF64,REL_ERROR); in test_q31_f64() 67 ASSERT_REL_ERROR(refF32,outputF32,REL_ERROR); in test_q31_float()
|
| D | SupportTestsQ15.cpp | 57 ASSERT_REL_ERROR(refF64,outputF64,REL_ERROR); in test_q15_f64() 71 ASSERT_REL_ERROR(refF32,outputF32,REL_ERROR); in test_q15_float()
|
| D | FIRF64.cpp | 105 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_fir_f64()
|
| D | BayesF16.cpp | 28 ASSERT_REL_ERROR(outputProbas,probas,REL_ERROR); in test_gaussian_naive_bayes_predict_f16()
|
| D | BayesF32.cpp | 28 ASSERT_REL_ERROR(outputProbas,probas,(float32_t)5e-6); in test_gaussian_naive_bayes_predict_f32()
|
| D | FIRF16.cpp | 132 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_fir_f16()
|
| D | FIRF32.cpp | 136 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_fir_f32()
|
| D | MFCCF32.cpp | 34 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_mfcc_f32()
|