Home
last modified time | relevance | path

Searched refs:ASSERT_REL_ERROR (Results 1 – 25 of 29) sorted by relevance

12

/cmsis-dsp-latest/Testing/Source/Tests/
DDistanceTestsF16.cpp29 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()
DBasicTestsF16.cpp33 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()
DBasicTestsF32.cpp30 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()
DBasicTestsF64.cpp30 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()
DBIQUADF32.cpp84 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()
DComplexTestsF16.cpp21 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()
DComplexTestsF32.cpp21 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()
DStatsTestsF32.cpp218 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 …]
DSupportTestsF16.cpp94 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()
DStatsTestsF16.cpp225 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()
DBIQUADF64.cpp72 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()
DDECIMF32.cpp67 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()
DDECIMF64.cpp67 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_fir_decimate_f64()
124 ASSERT_REL_ERROR(output,ref,REL_ERROR);
DStatsTestsF64.cpp218 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()
DComplexTestsF64.cpp59 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()
DInterpolationTestsF32.cpp32 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()
DExampleCategoryF32.cpp46 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_op_f32()
DSupportTestsQ31.cpp53 ASSERT_REL_ERROR(refF64,outputF64,REL_ERROR); in test_q31_f64()
67 ASSERT_REL_ERROR(refF32,outputF32,REL_ERROR); in test_q31_float()
DSupportTestsQ15.cpp57 ASSERT_REL_ERROR(refF64,outputF64,REL_ERROR); in test_q15_f64()
71 ASSERT_REL_ERROR(refF32,outputF32,REL_ERROR); in test_q15_float()
DFIRF64.cpp105 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_fir_f64()
DBayesF16.cpp28 ASSERT_REL_ERROR(outputProbas,probas,REL_ERROR); in test_gaussian_naive_bayes_predict_f16()
DBayesF32.cpp28 ASSERT_REL_ERROR(outputProbas,probas,(float32_t)5e-6); in test_gaussian_naive_bayes_predict_f32()
DFIRF16.cpp132 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_fir_f16()
DFIRF32.cpp136 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_fir_f32()
DMFCCF32.cpp34 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_mfcc_f32()

12