ARM-software / ComputeLibrary

The Compute Library is a set of computer vision and machine learning functions optimised for both Arm CPUs and GPUs using SIMD technologies.
MIT License
2.75k stars 767 forks source link

Wrong values for NEElementwisePower kernel #1047

Closed allnes closed 1 year ago

allnes commented 1 year ago

Hello!

I have problem with NEElementwisePower kernel.

I used this configuration:

 src0: Shape=10,5,19,2,DataLayout=NCHW,DataType=F32
 src1: Shape=1,5,19,2,DataLayout=NCHW,DataType=F32
 dst: Shape=10,5,19,2,DataLayout=NCHW,DataType=F32

and got this results for first values:

 src0: 0.025 -0.7 716.8 -0.7 716.8 230.4 -0.0437501 -0.0437501 230.4 1433.6 -32 -0.0078125 
 src1: 5.30499e-315 0 0 0 0 0 0 0 4.70977e-315 0 0 0 
 dst:  0.0950004 1.40445e+306 6.1069e+07 1.40445e+306 6.1069e+07 7.08831e+06 1.40445e+306 1.40445e+306 7.08831e+06 2.80515e+08 1.40445e+306 1.40445e+306 

please help me, I might not be using the kernel correctly

morgolock commented 1 year ago

Hi @allnes

Could you please share the code computing those values?