reminisce commented on issue #8799: Dangling outputs and dtype != float32: 
Gradient computation fails
URL: 
https://github.com/apache/incubator-mxnet/issues/8799#issuecomment-379404238
 
 
   Minimum reproducible script:
   ```python
   import mxnet as mx
   from mxnet import autograd
   
   
   data = mx.nd.arange(16, dtype='float64').reshape((4, 4))
   data.attach_grad()
   
   with autograd.record():
       y = mx.nd.split(data, axis=0, num_outputs=2)
   y[0].backward()
   print(data.grad)
   ```

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


With regards,
Apache Git Services

Reply via email to