/cmsis-dsp-latest/Source/DistanceFunctions/ |
D | arm_chebyshev_distance_f32.c | 108 float32_t diff=0.0f, maxVal=0.0f, tmpA, tmpB; in arm_chebyshev_distance_f32() local 117 diff = fabsf(tmpA - tmpB); in arm_chebyshev_distance_f32() 118 maxVal = diff; in arm_chebyshev_distance_f32() 125 diff = fabsf(tmpA - tmpB); in arm_chebyshev_distance_f32() 126 if (diff > maxVal) in arm_chebyshev_distance_f32() 128 maxVal = diff; in arm_chebyshev_distance_f32() 171 diff = fabsf(tmpA - tmpB); in arm_chebyshev_distance_f32() 172 if (diff > maxVal) in arm_chebyshev_distance_f32() 174 maxVal = diff; in arm_chebyshev_distance_f32() 185 float32_t diff=0.0f, maxVal,tmpA, tmpB; in arm_chebyshev_distance_f32() local [all …]
|
D | arm_chebyshev_distance_f16.c | 116 _Float16 diff=0.0f, maxVal,tmpA, tmpB; in arm_chebyshev_distance_f16() local 120 diff = (_Float16)fabsf((float32_t)((_Float16)tmpA - (_Float16)tmpB)); in arm_chebyshev_distance_f16() 121 maxVal = diff; in arm_chebyshev_distance_f16() 128 diff = (_Float16)fabsf((float32_t)((_Float16)tmpA - (_Float16)tmpB)); in arm_chebyshev_distance_f16() 129 if ((_Float16)diff > (_Float16)maxVal) in arm_chebyshev_distance_f16() 131 maxVal = diff; in arm_chebyshev_distance_f16()
|
D | arm_chebyshev_distance_f64.c | 52 float64_t diff=0., maxVal,tmpA, tmpB; in arm_chebyshev_distance_f64() local 85 diff = fabs(tmpA - tmpB); in arm_chebyshev_distance_f64() 86 if (diff > maxVal) in arm_chebyshev_distance_f64() 88 maxVal = diff; in arm_chebyshev_distance_f64()
|
D | arm_canberra_distance_f32.c | 136 float32_t accum=0.0f, tmpA, tmpB,diff,sum; in arm_canberra_distance_f32() local 185 diff = fabsf(tmpA - tmpB); in arm_canberra_distance_f32() 189 accum += (diff / sum); in arm_canberra_distance_f32() 199 float32_t accum=0.0f, tmpA, tmpB,diff,sum; in arm_canberra_distance_f32() local 206 diff = fabsf(tmpA - tmpB); in arm_canberra_distance_f32() 210 accum += (diff / sum); in arm_canberra_distance_f32()
|
D | arm_canberra_distance_f16.c | 146 _Float16 accum=0.0f, tmpA, tmpB,diff,sum; in arm_canberra_distance_f16() local 153 diff = fabsf((float32_t)((_Float16)tmpA - (_Float16)tmpB)); in arm_canberra_distance_f16() 157 accum += ((_Float16)diff / (_Float16)sum); in arm_canberra_distance_f16()
|
/cmsis-dsp-latest/Source/InterpolationFunctions/ |
D | arm_spline_interp_f32.c | 177 float32x4_t diff = {0.0f, 0.0f, 0.0f, 0.0f}; in arm_spline_f32() local 199 diff = vsubq_f32(xqv, xiv); in arm_spline_f32() 200 temp = diff; in arm_spline_f32() 207 temp = vmulq_f32(temp, diff); in arm_spline_f32() 210 temp = vmulq_f32(temp, diff); in arm_spline_f32() 243 diff = vsubq_f32(xqv, xiv); in arm_spline_f32() 244 temp = diff; in arm_spline_f32() 251 temp = vmulq_f32(temp, diff); in arm_spline_f32() 254 temp = vmulq_f32(temp, diff); in arm_spline_f32()
|
/cmsis-dsp-latest/Examples/ARM/arm_signal_converge_example/ |
D | math_helper.c | 169 int32_t diff, diffCrnt = 0; in arm_compare_fixed_q15() local 174 diff = pIn[i] - pOut[i]; in arm_compare_fixed_q15() 175 diffCrnt = (diff > 0) ? diff : -diff; in arm_compare_fixed_q15() 197 int32_t diff, diffCrnt = 0; in arm_compare_fixed_q31() local 202 diff = pIn[i] - pOut[i]; in arm_compare_fixed_q31() 203 diffCrnt = (diff > 0) ? diff : -diff; in arm_compare_fixed_q31()
|
/cmsis-dsp-latest/Examples/ARM/arm_convolution_example/ |
D | math_helper.c | 169 int32_t diff, diffCrnt = 0; in arm_compare_fixed_q15() local 174 diff = pIn[i] - pOut[i]; in arm_compare_fixed_q15() 175 diffCrnt = (diff > 0) ? diff : -diff; in arm_compare_fixed_q15() 197 int32_t diff, diffCrnt = 0; in arm_compare_fixed_q31() local 202 diff = pIn[i] - pOut[i]; in arm_compare_fixed_q31() 203 diffCrnt = (diff > 0) ? diff : -diff; in arm_compare_fixed_q31()
|
/cmsis-dsp-latest/Examples/ARM/arm_matrix_example/ |
D | math_helper.c | 169 int32_t diff, diffCrnt = 0; in arm_compare_fixed_q15() local 174 diff = pIn[i] - pOut[i]; in arm_compare_fixed_q15() 175 diffCrnt = (diff > 0) ? diff : -diff; in arm_compare_fixed_q15() 197 int32_t diff, diffCrnt = 0; in arm_compare_fixed_q31() local 202 diff = pIn[i] - pOut[i]; in arm_compare_fixed_q31() 203 diffCrnt = (diff > 0) ? diff : -diff; in arm_compare_fixed_q31()
|
/cmsis-dsp-latest/Examples/ARM/arm_fir_example/ |
D | math_helper.c | 169 int32_t diff, diffCrnt = 0; in arm_compare_fixed_q15() local 174 diff = pIn[i] - pOut[i]; in arm_compare_fixed_q15() 175 diffCrnt = (diff > 0) ? diff : -diff; in arm_compare_fixed_q15() 197 int32_t diff, diffCrnt = 0; in arm_compare_fixed_q31() local 202 diff = pIn[i] - pOut[i]; in arm_compare_fixed_q31() 203 diffCrnt = (diff > 0) ? diff : -diff; in arm_compare_fixed_q31()
|
/cmsis-dsp-latest/Examples/ARM/arm_graphic_equalizer_example/ |
D | math_helper.c | 169 int32_t diff, diffCrnt = 0; in arm_compare_fixed_q15() local 174 diff = pIn[i] - pOut[i]; in arm_compare_fixed_q15() 175 diffCrnt = (diff > 0) ? diff : -diff; in arm_compare_fixed_q15() 197 int32_t diff, diffCrnt = 0; in arm_compare_fixed_q31() local 202 diff = pIn[i] - pOut[i]; in arm_compare_fixed_q31() 203 diffCrnt = (diff > 0) ? diff : -diff; in arm_compare_fixed_q31()
|
/cmsis-dsp-latest/Examples/ARM/arm_linear_interp_example/ |
D | math_helper.c | 169 int32_t diff, diffCrnt = 0; in arm_compare_fixed_q15() local 174 diff = pIn[i] - pOut[i]; in arm_compare_fixed_q15() 175 diffCrnt = (diff > 0) ? diff : -diff; in arm_compare_fixed_q15() 197 int32_t diff, diffCrnt = 0; in arm_compare_fixed_q31() local 202 diff = pIn[i] - pOut[i]; in arm_compare_fixed_q31() 203 diffCrnt = (diff > 0) ? diff : -diff; in arm_compare_fixed_q31()
|
/cmsis-dsp-latest/Examples/ARM/arm_dotproduct_example/ |
D | arm_dotproduct_example_f32.c | 150 float32_t diff; /* Difference between reference and test outputs */ in main() local 163 diff = fabsf(refDotProdOut - testOutput); in main() 166 status = (diff > DELTA) ? ARM_MATH_TEST_FAILURE : ARM_MATH_SUCCESS; in main()
|
/cmsis-dsp-latest/Examples/ARM/arm_sin_cos_example/ |
D | arm_sin_cos_example_f32.c | 130 float32_t diff; in main() local 144 diff = fabsf(testRefOutput_f32 - testOutput); in main() 147 status = (diff > DELTA) ? ARM_MATH_TEST_FAILURE : ARM_MATH_SUCCESS; in main()
|
/cmsis-dsp-latest/Examples/ARM/arm_variance_example/ |
D | arm_variance_example_f32.c | 145 float32_t diff; in main() local 195 diff = fabsf(refVarianceOut - variance); in main() 198 status = (diff > DELTA) ? ARM_MATH_TEST_FAILURE : ARM_MATH_SUCCESS; in main()
|
/cmsis-dsp-latest/Testing/Source/Tests/ |
D | Softmax.cpp | 87 int diff = differences(ref.ptr(),output.ptr(),this->nbSamples); in test_softmax_q7() local 89 ASSERT_TRUE(100.0*diff/this->nbSamples <= THRESHOLD); in test_softmax_q7() 109 int diff = differences(ref.ptr(),output.ptr(),this->nbSamples); in test_softmax_with_batch_q7() local 111 ASSERT_TRUE(100.0*diff/this->nbSamples <= THRESHOLD); in test_softmax_with_batch_q7()
|
/cmsis-dsp-latest/Testing/ |
D | addToRegDB.py | 57 def diff(first, second): function 64 params=diff(elem.params.full , elem.params.summary) 65 common = diff(cols + ["TYPE","RUN"] , ['OLDID'] + params) 86 params=diff(elem.params.full , elem.params.summary) 87 common = diff(cols + ["TYPE","RUN"] , ['OLDID'] + params) 168 params=diff(elem.params.full , elem.params.summary) 169 common = diff(["TYPE"] + cols , ['OLDID'] + params)
|
D | extractDb.py | 235 def diff(first, second): function 459 keepCols = ['name'] + [c for c in diff(cols , REMOVECOLUMNSFORHISTORY) if isNotIDColumn(c)] 472 keepCols = ['name'] + [c for c in diff(cols , REMOVECOLUMNS) if isNotIDColumn(c)] 485 keepCols = ['name','type'] + [c for c in diff(cols , REMOVECOLUMNS) if isNotIDColumn(c)] 498 keepCols = ['name'] + [c for c in diff(cols , REMOVECOLUMNS) if isNotIDColumn(c)] 526 columns = diff(indexCols,['name']) 577 columns = diff(indexCols,['name']) 651 indexCols=diff(cols,byname + ['Regression','MAXREGCOEF','MAX'] + section) 657 indexCols=diff(cols,byname + ['CYCLES'] + section) 720 columns = diff(indexCols,['name']) [all …]
|
D | addToDB.py | 55 def diff(first, second): function 63 common = diff(cols + ["TYPE","RUN"] , ['OLDID'] + params) 83 common = diff(cols + ["TYPE","RUN"] , ['OLDID'] + params) 163 common = diff(["TYPE"] + cols , ['OLDID'] + params)
|
D | README.md | 737 examples.sql and diff.sql are showing some examples. 741 diff.sql : How to compute a performance ratio (max cycle and regression) based on a reference core …
|