seujung edited a comment on issue #14735: How to update parameter manually with 
gluon in training loop
URL: 
https://github.com/apache/incubator-mxnet/issues/14735#issuecomment-484520984
 
 
   Try to add this line before updating the paramter
   ```
   with autograd.pause():
       params["my_param"].set_data(my_param*0)
   ```

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to