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 2020/05/21 04:08:59 UTC

[GitHub] [incubator-mxnet] xidulu commented on issue #18353: [Numpy] Division fails for differnt floating dtypes

xidulu commented on issue #18353:
URL: https://github.com/apache/incubator-mxnet/issues/18353#issuecomment-631867278


   Actually, a warning would be thrown out
   
   ```python
   >>> np.ones((2,2),dtype='float64') / np.zeros((2,2))
   [04:07:01] ../src/operator/numpy/./np_true_divide-inl.h:124: not implemented yet...
   array([[0.00000000e+000, 6.95161511e-310],
          [0.00000000e+000, 0.00000000e+000]], dtype=float64)
   ```
   The reason behind the division operation's zero output is that the computation kernel is not launched.


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