haojin2 commented on issue #16964: Data comparison is inconsistent with numpy
URL: 
https://github.com/apache/incubator-mxnet/issues/16964#issuecomment-561965714
 
 
   @ptrendx I think it's a data type issue:
   ```
   >>> from mxnet import np
   >>> np.array([0],dtype='float') < 1e-3
   array([ True])
   ```
   I guess `1e-3` was casted to integer in the backend...

----------------------------------------------------------------
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