joddiy commented on issue #565: fixed broadcast div pow
URL: https://github.com/apache/singa/pull/565#issuecomment-559415745
 
 
   Hi, @dcslin it works fine, however, I saw a little difference between the 
results of numpy and singa(for pow based gpu and div based cpu).
   ```
   Mismatch: 10%
   Max absolute difference: 0.00073242
   Max relative difference: 5.9753495e-07
    x: array([[-3.58730e+01, -9.22379e+03, -1.86656e+00,  1.22574e+03,
            1.13451e-01],
          [ 3.81203e+00, -1.25024e+01, -1.21589e+00,  1.68196e-01,...
    y: array([[-3.58730e+01, -9.22379e+03, -1.86656e+00,  1.22574e+03,
            1.13451e-01],
          [ 3.81203e+00, -1.25024e+01, -1.21589e+00,  1.68196e-01,...
   ```
   Not too big, I guess the problem is caused by floating-point precision, is 
that ok? @nudles 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to