You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2019/12/04 21:08:16 UTC

[GitHub] [incubator-mxnet] haojin2 commented on issue #16964: Data comparison is inconsistent with numpy

haojin2 commented on issue #16964: Data comparison is inconsistent with numpy
URL: https://github.com/apache/incubator-mxnet/issues/16964#issuecomment-561839299
 
 
   Hi,
   The behavior of nd is not guaranteed to be consistent as official NumPy.
   If you're looking for NumPy-compatible behaviors, please try out the new NumPy-compatible interface, available in latest nightly versions & soon to be available in 1.6.0 release version:
   ```
   >>> from mxnet import np
   >>> np.array([0],dtype='int') < 1e-3
   array([False])
   ```

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services