roywei commented on issue #8337: mx.autograd.grad works or fails depending on 
use of slices
   @kpot  may I know what's the purpose of slice? let's say if you want a[0:2], 
how you want to use it?
   `a[0:4]` is a shallow copy of `a` , using slice in autograd may not be the 
idea way.
   In your case for OpenCL device, could you try to use symbolic gradient 
directly from nnvm? refer to 
[gradient]( and 
   a = mx.nd.array([1, 2, 3, 4], ctx=ctx)

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:

With regards,
Apache Git Services

Reply via email to