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/10/28 08:57:07 UTC

[GitHub] [incubator-mxnet] zixuanweeei opened a new pull request #16657: [mkldnn-v1.0] Adopt autograd.record() context to RNNOp

zixuanweeei opened a new pull request #16657: [mkldnn-v1.0] Adopt autograd.record() context to RNNOp
URL: https://github.com/apache/incubator-mxnet/pull/16657
 
 
   ## Description ##
   Should fix ISSUE https://github.com/apache/incubator-mxnet/issues/16256
   
   ## Checklist ##
   ### Changes ###
   - [x] Use `ctx.is_train || ctx.need_grad` to check if it needs RNNOp to run into `forward_training` mode.
   - [x] Nit: indent of a `if (ctx_.dev_type == kGPU)` branch.
   - [x] Both cpu and gpu context are adopted.
   
   @pengzhao-intel @TaoLv 
   

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