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/01 21:20:56 UTC

[GitHub] [incubator-mxnet] szha commented on issue #16256: [Bug] Failed to evaluate gradient on samples with train_mode=False

szha commented on issue #16256: [Bug] Failed to evaluate gradient on samples with train_mode=False
URL: https://github.com/apache/incubator-mxnet/issues/16256#issuecomment-537235709
 
 
   @zixuanweeei the `train_mode` concept is different from whether it's "an inference only route". It is for controlling the different behaviors between training mode and inference mode (e.g. dropout behaves as identity during inference). The code should rely on whether the gradient is being recorded instead.

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