Home
last modified time | relevance | path

Searched refs:ref (Results 1 – 25 of 241) sorted by relevance

12345678910

/cmsis-dsp-latest/Testing/PatternGeneration/
DBasicMaths.py27 ref = list(np.clip(testSamples[0:nbForTest],mi,ma))
28 config.writeReference(nb+i, ref)
51 ref = data1 + data2
52 config.writeReference(1, ref)
54 ref = data1 - data2
55 config.writeReference(2, ref)
57 ref = data1 * data2
58 config.writeReference(3, ref)
60 ref = -data1
61 config.writeReference(4, ref)
[all …]
DComplexMaths.py33 ref = np.conj(data1)
34 config.writeReference(1, asReal(ref))
37 ref = np.array(np.dot(data1[0:nb],data2[0:nb]))
39 ref = ref / 2**15 # Because CMSIS format is 16.48
40 config.writeReferenceQ63(2, asReal(ref))
42 ref = ref / 2**7 # Because CMSIS format is 8.24
43 config.writeReferenceQ31(2, asReal(ref))
45 config.writeReference(2, asReal(ref))
48 ref = np.array(np.dot(data1[0:nb] ,data2[0:nb]))
50 ref = ref / 2**15 # Because CMSIS format is 16.48
[all …]
/cmsis-dsp-latest/PythonWrapper/examples/
Dtestdistance.py18 ref=d.braycurtis(a,b) variable
20 print(ref)
22 assert_allclose(ref,res,1e-6)
26 ref=d.canberra(a,b) variable
28 print(ref)
30 assert_allclose(ref,res,1e-6)
33 ref=d.chebyshev(a,b) variable
35 print(ref)
37 assert_allclose(ref,res,1e-6)
41 assert_allclose(ref,res,1e-10)
[all …]
Dexample_1_10.py152 ref = genwelch(128) variable
154 assert_allclose(ref,wf32)
157 assert_allclose(ref,wf64)
160 ref = genbartlett(128) variable
162 assert_allclose(ref,wf32)
165 assert_allclose(ref,wf64)
168 ref = genhamming(128) variable
170 assert_allclose(ref,wf32,rtol=1e-6,atol=2e-6)
173 assert_allclose(ref,wf64)
176 ref = genhanning(128) variable
[all …]
Dtestdsp5.py94 ref=scaled/np.sum(w) variable
106 assert_allclose(ref,result,rtol=1e-6,atol=1e-6)
114 ref=np.dot(s,w)/np.sum(w) variable
115 print(ref)
120 assert_allclose(ref,res,2e-5)
126 ref=entropy(s) variable
127 print(ref)
130 assert_allclose(ref,res,1e-6)
134 assert_allclose(ref,res,1e-10)
143 ref=entropy(sa,sb) variable
[all …]
/cmsis-dsp-latest/Testing/Source/Tests/
DMISCF16.cpp37 ASSERT_SNR(ref,output,(float16_t)SNR_LD_THRESHOLD); in test_levinson_durbin_f16()
38 ASSERT_CLOSE_ERROR(ref,output,ABS_LD_ERROR,REL_LD_ERROR); in test_levinson_durbin_f16()
55 ASSERT_SNR(ref,output,(float16_t)SNR_THRESHOLD); in test_correlate_f16()
56 ASSERT_CLOSE_ERROR(ref,output,ABS_ERROR,REL_ERROR); in test_correlate_f16()
90 ref.reload(MISCF16::REF1_F16_ID,mgr); in setUp()
98 ref.reload(MISCF16::REF2_F16_ID,mgr); in setUp()
106 ref.reload(MISCF16::REF3_F16_ID,mgr); in setUp()
114 ref.reload(MISCF16::REF4_F16_ID,mgr); in setUp()
122 ref.reload(MISCF16::REF5_F16_ID,mgr); in setUp()
130 ref.reload(MISCF16::REF6_F16_ID,mgr); in setUp()
[all …]
DMISCF64.cpp57 ASSERT_SNR(ref,output,(float64_t)SNR_THRESHOLD); in test_correlate_f64()
58 ASSERT_CLOSE_ERROR(ref,output,ABS_ERROR,REL_ERROR); in test_correlate_f64()
115 ref.reload(MISCF64::REF1_F64_ID,mgr); in setUp()
123 ref.reload(MISCF64::REF2_F64_ID,mgr); in setUp()
131 ref.reload(MISCF64::REF3_F64_ID,mgr); in setUp()
139 ref.reload(MISCF64::REF4_F64_ID,mgr); in setUp()
147 ref.reload(MISCF64::REF5_F64_ID,mgr); in setUp()
155 ref.reload(MISCF64::REF6_F64_ID,mgr); in setUp()
163 ref.reload(MISCF64::REF7_F64_ID,mgr); in setUp()
171 ref.reload(MISCF64::REF8_F64_ID,mgr); in setUp()
[all …]
DMISCQ31.cpp42 ASSERT_SNR(ref,output,(q31_t)SNR_THRESHOLD); in test_levinson_durbin_q31()
43 ASSERT_NEAR_EQ(ref,output,ABS_LD_ERROR); in test_levinson_durbin_q31()
58 ASSERT_SNR(ref,output,(q31_t)SNR_THRESHOLD); in test_correlate_q31()
59 ASSERT_NEAR_EQ(ref,output,ABS_ERROR_Q31); in test_correlate_q31()
74 ASSERT_SNR(ref,output,(q31_t)SNR_THRESHOLD); in test_conv_q31()
75 ASSERT_NEAR_EQ(ref,output,ABS_ERROR_Q31); in test_conv_q31()
101 ASSERT_SNR(ref,tmp,(q31_t)SNR_THRESHOLD); in test_conv_partial_q31()
102 ASSERT_NEAR_EQ(ref,tmp,ABS_ERROR_Q31); in test_conv_partial_q31()
124 ASSERT_SNR(ref,tmp,(q31_t)SNR_THRESHOLD); in test_conv_partial_fast_q31()
125 ASSERT_NEAR_EQ(ref,tmp,ABS_ERROR_FAST_Q31); in test_conv_partial_fast_q31()
[all …]
DMISCF32.cpp38 ASSERT_SNR(ref,output,(float32_t)SNR_THRESHOLD); in test_levinson_durbin_f32()
39 ASSERT_CLOSE_ERROR(ref,output,ABS_LD_ERROR,REL_LD_ERROR); in test_levinson_durbin_f32()
57 ASSERT_SNR(ref,output,(float32_t)SNR_THRESHOLD); in test_correlate_f32()
58 ASSERT_CLOSE_ERROR(ref,output,ABS_ERROR,REL_ERROR); in test_correlate_f32()
72 ASSERT_SNR(ref,output,(float32_t)SNR_THRESHOLD); in test_conv_f32()
73 ASSERT_CLOSE_ERROR(ref,output,ABS_ERROR,REL_ERROR); in test_conv_f32()
97 ASSERT_SNR(ref,tmp,(float32_t)SNR_THRESHOLD); in test_conv_partial_f32()
98 ASSERT_CLOSE_ERROR(ref,tmp,ABS_ERROR,REL_ERROR); in test_conv_partial_f32()
115 ref.reload(MISCF32::REF1_F32_ID,mgr); in setUp()
123 ref.reload(MISCF32::REF2_F32_ID,mgr); in setUp()
[all …]
DBasicTestsF16.cpp31 ASSERT_SNR(output,ref,(float16_t)SNR_THRESHOLD); in test_add_f16()
33 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_add_f16()
46 ASSERT_SNR(output,ref,(float16_t)SNR_THRESHOLD); in test_clip_f16()
48 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_clip_f16()
61 ASSERT_SNR(output,ref,(float16_t)SNR_THRESHOLD); in test_sub_f16()
63 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_sub_f16()
76 ASSERT_SNR(output,ref,(float16_t)SNR_THRESHOLD); in test_mult_f16()
78 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_mult_f16()
93 ASSERT_SNR(output,ref,(float16_t)SNR_THRESHOLD); in test_negate_f16()
95 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_negate_f16()
[all …]
DBasicTestsF32.cpp28 ASSERT_SNR(output,ref,(float32_t)SNR_THRESHOLD); in test_add_f32()
30 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_add_f32()
43 ASSERT_SNR(output,ref,(float32_t)SNR_THRESHOLD); in test_clip_f32()
45 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_clip_f32()
57 ASSERT_SNR(output,ref,(float32_t)SNR_THRESHOLD); in test_sub_f32()
59 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_sub_f32()
71 ASSERT_SNR(output,ref,(float32_t)SNR_THRESHOLD); in test_mult_f32()
73 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_mult_f32()
87 ASSERT_SNR(output,ref,(float32_t)SNR_THRESHOLD); in test_negate_f32()
89 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_negate_f32()
[all …]
DWindowTestsF64.cpp24 ASSERT_SNR(output,ref,(float64_t)SNR_THRESHOLD); in test_welch_f64()
26 ASSERT_CLOSE_ERROR(output,ref,ABS_ERROR,REL_ERROR); in test_welch_f64()
37 ASSERT_SNR(output,ref,(float64_t)SNR_THRESHOLD); in test_bartlett_f64()
39 ASSERT_CLOSE_ERROR(output,ref,ABS_ERROR,REL_ERROR); in test_bartlett_f64()
50 ASSERT_SNR(output,ref,(float64_t)SNR_THRESHOLD); in test_hamming_f64()
52 ASSERT_CLOSE_ERROR(output,ref,ABS_ERROR,REL_ERROR); in test_hamming_f64()
63 ASSERT_SNR(output,ref,(float64_t)SNR_THRESHOLD); in test_hanning_f64()
65 ASSERT_CLOSE_ERROR(output,ref,ABS_ERROR,REL_ERROR); in test_hanning_f64()
76 ASSERT_SNR(output,ref,(float64_t)SNR_THRESHOLD); in test_nuttall3_f64()
78 ASSERT_CLOSE_ERROR(output,ref,ABS_ERROR,REL_ERROR); in test_nuttall3_f64()
[all …]
DWindowTestsF32.cpp24 ASSERT_SNR(output,ref,(float32_t)SNR_THRESHOLD); in test_welch_f32()
26 ASSERT_CLOSE_ERROR(output,ref,ABS_ERROR,REL_ERROR); in test_welch_f32()
37 ASSERT_SNR(output,ref,(float32_t)SNR_THRESHOLD); in test_bartlett_f32()
39 ASSERT_CLOSE_ERROR(output,ref,ABS_ERROR,REL_ERROR); in test_bartlett_f32()
50 ASSERT_SNR(output,ref,(float32_t)SNR_THRESHOLD); in test_hamming_f32()
52 ASSERT_CLOSE_ERROR(output,ref,ABS_ERROR,REL_ERROR); in test_hamming_f32()
63 ASSERT_SNR(output,ref,(float32_t)SNR_THRESHOLD); in test_hanning_f32()
65 ASSERT_CLOSE_ERROR(output,ref,ABS_ERROR,REL_ERROR); in test_hanning_f32()
76 ASSERT_SNR(output,ref,(float32_t)SNR_THRESHOLD); in test_nuttall3_f32()
78 ASSERT_CLOSE_ERROR(output,ref,ABS_ERROR,REL_ERROR); in test_nuttall3_f32()
[all …]
DBasicTestsF64.cpp28 ASSERT_SNR(output,ref,(float64_t)SNR_THRESHOLD); in test_add_f64()
30 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_add_f64()
58 ASSERT_SNR(output,ref,(float64_t)SNR_THRESHOLD); in test_sub_f64()
60 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_sub_f64()
72 ASSERT_SNR(output,ref,(float64_t)SNR_THRESHOLD); in test_mult_f64()
74 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_mult_f64()
88 ASSERT_SNR(output,ref,(float64_t)SNR_THRESHOLD); in test_negate_f64()
90 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_negate_f64()
104 ASSERT_SNR(output,ref,(float64_t)SNR_THRESHOLD); in test_offset_f64()
106 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_offset_f64()
[all …]
DMISCQ7.cpp28 ASSERT_SNR(ref,output,(q7_t)SNR_THRESHOLD); in test_correlate_q7()
29 ASSERT_NEAR_EQ(ref,output,ABS_ERROR_Q7); in test_correlate_q7()
44 ASSERT_SNR(ref,output,(q7_t)SNR_THRESHOLD); in test_conv_q7()
45 ASSERT_NEAR_EQ(ref,output,ABS_ERROR_Q7); in test_conv_q7()
71 ASSERT_SNR(ref,tmp,(q7_t)SNR_THRESHOLD); in test_conv_partial_q7()
72 ASSERT_NEAR_EQ(ref,tmp,ABS_ERROR_Q7); in test_conv_partial_q7()
100 ASSERT_SNR(ref,tmp,(q7_t)SNR_THRESHOLD); in test_conv_partial_opt_q7()
101 ASSERT_NEAR_EQ(ref,tmp,ABS_ERROR_FAST_Q7); in test_conv_partial_opt_q7()
118 ref.reload(MISCQ7::REF1_Q7_ID,mgr); in setUp()
126 ref.reload(MISCQ7::REF2_Q7_ID,mgr); in setUp()
[all …]
DMISCQ15.cpp30 ASSERT_SNR(ref,output,(q15_t)SNR_THRESHOLD); in test_correlate_q15()
31 ASSERT_NEAR_EQ(ref,output,ABS_ERROR_Q15); in test_correlate_q15()
46 ASSERT_SNR(ref,output,(q15_t)SNR_THRESHOLD); in test_conv_q15()
47 ASSERT_NEAR_EQ(ref,output,ABS_ERROR_Q15); in test_conv_q15()
73 ASSERT_SNR(ref,tmp,(q15_t)SNR_THRESHOLD); in test_conv_partial_q15()
74 ASSERT_NEAR_EQ(ref,tmp,ABS_ERROR_Q15); in test_conv_partial_q15()
96 ASSERT_SNR(ref,tmp,(q15_t)SNR_THRESHOLD); in test_conv_partial_fast_q15()
97 ASSERT_NEAR_EQ(ref,tmp,ABS_ERROR_FAST_Q15); in test_conv_partial_fast_q15()
125 ASSERT_SNR(ref,tmp,(q15_t)SNR_THRESHOLD); in test_conv_partial_opt_q15()
126 ASSERT_NEAR_EQ(ref,tmp,ABS_ERROR_FAST_Q15); in test_conv_partial_opt_q15()
[all …]
DFastMathF16.cpp32 for(i=0; i < ref.nbSamples(); i++)
37 ASSERT_SNR(ref,output,(float16_t)SNR_THRESHOLD);
38 ASSERT_CLOSE_ERROR(ref,output,ABS_ERROR,REL_ERROR);
48 for(i=0; i < ref.nbSamples(); i++)
53 ASSERT_SNR(ref,output,(float16_t)SNR_THRESHOLD);
54 ASSERT_CLOSE_ERROR(ref,output,ABS_ERROR,REL_ERROR);
68 for(i=0; i < ref.nbSamples(); i++) in test_atan2_scalar_f16()
77 ASSERT_SNR(ref,output,(float16_t)SNR_ATAN2_THRESHOLD); in test_atan2_scalar_f16()
78 ASSERT_CLOSE_ERROR(ref,output,ABS_ERROR_ATAN,REL_ERROR_ATAN); in test_atan2_scalar_f16()
90 for(i=0; i < ref.nbSamples(); i++) in test_sqrt_f16()
[all …]
DFastMathF32.cpp33 for(i=0; i < ref.nbSamples(); i++) in test_atan2_scalar_f32()
43 ASSERT_CLOSE_ERROR(ref,output,ABS_ERROR_ATAN,REL_ERROR_ATAN); in test_atan2_scalar_f32()
54 for(i=0; i < ref.nbSamples(); i++) in test_cos_f32()
59 ASSERT_SNR(ref,output,(float32_t)SNR_THRESHOLD); in test_cos_f32()
60 ASSERT_CLOSE_ERROR(ref,output,ABS_ERROR,REL_ERROR); in test_cos_f32()
70 for(i=0; i < ref.nbSamples(); i++) in test_sin_f32()
75 ASSERT_SNR(ref,output,(float32_t)SNR_THRESHOLD); in test_sin_f32()
76 ASSERT_CLOSE_ERROR(ref,output,ABS_ERROR,REL_ERROR); in test_sin_f32()
87 for(i=0; i < ref.nbSamples(); i++) in test_sqrt_f32()
94 ASSERT_SNR(ref,output,(float32_t)SNR_THRESHOLD); in test_sqrt_f32()
[all …]
DComplexTestsF64.cpp57 ASSERT_SNR(output,ref,(float64_t)SNR_THRESHOLD); in test_cmplx_mag_f64()
59 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_cmplx_mag_f64()
72 ASSERT_SNR(output,ref,(float64_t)SNR_THRESHOLD); in test_cmplx_mag_squared_f64()
74 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_cmplx_mag_squared_f64()
88 ASSERT_SNR(output,ref,(float64_t)SNR_THRESHOLD); in test_cmplx_mult_cmplx_f64()
90 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_cmplx_mult_cmplx_f64()
121 ref.reload(ComplexTestsF64::REF_CONJ_F64_ID,mgr,nb << 1); in setUp()
124 output.create(ref.nbSamples(),ComplexTestsF64::OUT_SAMPLES_F64_ID,mgr); in setUp()
128 ref.reload(ComplexTestsF64::REF_CONJ_F64_ID,mgr,nb << 1); in setUp()
131 output.create(ref.nbSamples(),ComplexTestsF64::OUT_SAMPLES_F64_ID,mgr); in setUp()
[all …]
DComplexTestsF16.cpp19 ASSERT_SNR(output,ref,(float16_t)SNR_THRESHOLD); in test_cmplx_conj_f16()
21 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_cmplx_conj_f16()
40 ASSERT_SNR(output,ref,(float16_t)SNR_THRESHOLD); in test_cmplx_dot_prod_f16()
42 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_cmplx_dot_prod_f16()
56 ASSERT_SNR(output,ref,(float16_t)SNR_THRESHOLD); in test_cmplx_mag_f16()
58 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_cmplx_mag_f16()
71 ASSERT_SNR(output,ref,(float16_t)SNR_THRESHOLD); in test_cmplx_mag_squared_f16()
73 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_cmplx_mag_squared_f16()
87 ASSERT_SNR(output,ref,(float16_t)SNR_THRESHOLD); in test_cmplx_mult_cmplx_f16()
89 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_cmplx_mult_cmplx_f16()
[all …]
DComplexTestsF32.cpp19 ASSERT_SNR(output,ref,(float32_t)SNR_THRESHOLD); in test_cmplx_conj_f32()
21 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_cmplx_conj_f32()
40 ASSERT_SNR(output,ref,(float32_t)SNR_THRESHOLD); in test_cmplx_dot_prod_f32()
42 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_cmplx_dot_prod_f32()
56 ASSERT_SNR(output,ref,(float32_t)SNR_THRESHOLD); in test_cmplx_mag_f32()
58 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_cmplx_mag_f32()
71 ASSERT_SNR(output,ref,(float32_t)SNR_THRESHOLD); in test_cmplx_mag_squared_f32()
73 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_cmplx_mag_squared_f32()
87 ASSERT_SNR(output,ref,(float32_t)SNR_THRESHOLD); in test_cmplx_mult_cmplx_f32()
89 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_cmplx_mult_cmplx_f32()
[all …]
DFastMathQ15.cpp31 arm_vlog_q15(inp,outp,ref.nbSamples()); in test_vlog_q15()
33 ASSERT_SNR(ref,output,(float32_t)SNR_THRESHOLD); in test_vlog_q15()
34 ASSERT_NEAR_EQ(ref,output,LOG_ABS_ERROR); in test_vlog_q15()
47 for(i=0; i < ref.nbSamples(); i++) in test_atan2_scalar_q15()
56 ASSERT_SNR(ref,output,(q15_t)SNR_THRESHOLD); in test_atan2_scalar_q15()
57 ASSERT_NEAR_EQ(ref,output,ABS_ATAN_ERROR); in test_atan2_scalar_q15()
70 for(unsigned long i=0; i < ref.nbSamples(); i++) in test_division_q15()
77 ASSERT_SNR(ref,output,(float32_t)SNR_THRESHOLD); in test_division_q15()
78 ASSERT_NEAR_EQ(ref,output,DIV_ERROR); in test_division_q15()
90 for(i=0; i < ref.nbSamples(); i++) in test_cos_q15()
[all …]
DFastMathQ31.cpp33 for(i=0; i < ref.nbSamples(); i++) in test_atan2_scalar_q31()
41 ASSERT_SNR(ref,output,(q31_t)SNR_THRESHOLD); in test_atan2_scalar_q31()
42 ASSERT_NEAR_EQ(ref,output,ABS_ATAN_ERROR); in test_atan2_scalar_q31()
50 arm_vlog_q31(inp,outp,ref.nbSamples()); in test_vlog_q31()
53 ASSERT_SNR(ref,output,(float32_t)SNR_THRESHOLD); in test_vlog_q31()
54 ASSERT_NEAR_EQ(ref,output,LOG_ABS_ERROR); in test_vlog_q31()
68 for(unsigned long i=0; i < ref.nbSamples(); i++) in test_division_q31()
76 ASSERT_SNR(ref,output,(float32_t)SNR_THRESHOLD); in test_division_q31()
77 ASSERT_NEAR_EQ(ref,output,ABS_DIV_ERROR); in test_division_q31()
89 for(i=0; i < ref.nbSamples(); i++) in test_cos_q31()
[all …]
DComplexTestsQ15.cpp31 ASSERT_SNR(output,ref,(float32_t)SNR_THRESHOLD); in test_cmplx_conj_q15()
33 ASSERT_NEAR_EQ(output,ref,ABS_ERROR_Q15); in test_cmplx_conj_q15()
69 ASSERT_SNR(output,ref,(float32_t)SNR_MAG_THRESHOLD); in test_cmplx_mag_q15()
71 ASSERT_NEAR_EQ(output,ref,MAG_ERROR_Q15); in test_cmplx_mag_q15()
84 ASSERT_SNR(output,ref,(float32_t)SNR_MAG_FAST_THRESHOLD); in test_cmplx_mag_fast_q15()
86 ASSERT_NEAR_EQ(output,ref,MAG_FAST_ERROR_Q15); in test_cmplx_mag_fast_q15()
100 ASSERT_SNR(output,ref,(float32_t)SNR_THRESHOLD); in test_cmplx_mag_squared_q15()
102 ASSERT_NEAR_EQ(output,ref,ABS_ERROR_Q15); in test_cmplx_mag_squared_q15()
117 ASSERT_SNR(output,ref,(float32_t)SNR_THRESHOLD); in test_cmplx_mult_cmplx_q15()
119 ASSERT_NEAR_EQ(output,ref,ABS_ERROR_Q15); in test_cmplx_mult_cmplx_q15()
[all …]
DFastMathF64.cpp79 arm_vlog_f64(inp,outp,ref.nbSamples()); in test_vlog_f64()
81 ASSERT_SNR(ref,output,(float64_t)SNR_THRESHOLD); in test_vlog_f64()
82 ASSERT_CLOSE_ERROR(ref,output,ABS_ERROR,REL_ERROR); in test_vlog_f64()
92 arm_vexp_f64(inp,outp,ref.nbSamples()); in test_vexp_f64()
94 ASSERT_SNR(ref,output,(float64_t)SNR_THRESHOLD); in test_vexp_f64()
95 ASSERT_CLOSE_ERROR(ref,output,ABS_ERROR,REL_ERROR); in test_vexp_f64()
109 ref.reload(FastMathF64::COS1_F64_ID,mgr); in setUp()
110 output.create(ref.nbSamples(),FastMathF64::OUT_F64_ID,mgr); in setUp()
118 ref.reload(FastMathF64::SIN1_F64_ID,mgr); in setUp()
119 output.create(ref.nbSamples(),FastMathF64::OUT_F64_ID,mgr); in setUp()
[all …]

12345678910