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/06/02 15:31:30 UTC

[GitHub] [incubator-mxnet] starimpact opened a new issue #15125: a big bug nan for sum of some fp16 ndarray

starimpact opened a new issue #15125: a big bug nan for sum of some fp16 ndarray
URL: https://github.com/apache/incubator-mxnet/issues/15125
 
 
   ```python
     136 2019-06-02 23:26:54,499-root-<type 'numpy.float16'>
     137 2019-06-02 23:26:54,499-root-
     138 [[[  4022.     10432.     13904.   ]
     139   [  6360.     10128.     12752.   ]
     140   [  8616.     10536.     12200.   ]]
     141
     142  [[ -5452.      1838.      5432.   ]
     143   [ -2684.      1774.      4476.   ]
     144   [   198.625   2700.      4052.   ]]
     145
     146  [[ -8264.     -1236.      2524.   ]
     147   [ -5188.      -880.5     1629.   ]
     148   [ -2280.       151.875   1655.   ]]]
     149 <NDArray 3x3x3 @gpu(0)>
     150 2019-06-02 23:26:54,500-root-
     151 [ nan]
     152 <NDArray 1 @gpu(0)>
   ```
   do sum on some float16 ndarray will result in nan! 

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