mxnet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <>
Subject [GitHub] piiswrong closed pull request #10321: Fix typo in autograd doc
Date Sun, 01 Apr 2018 23:03:25 GMT
piiswrong closed pull request #10321: Fix typo in autograd doc

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/docs/api/python/autograd/ b/docs/api/python/autograd/
index 410d6a94e26..1e699d26d55 100644
--- a/docs/api/python/autograd/
+++ b/docs/api/python/autograd/
@@ -39,7 +39,7 @@ and do some computation. Finally, call `backward()` on the result:
 ## Train mode and Predict Mode
 Some operators (Dropout, BatchNorm, etc) behave differently in
-when training and when making predictions.
+training and making predictions.
 This can be controlled with `train_mode` and `predict_mode` scope.
 By default, MXNet is in `predict_mode`.
@@ -52,7 +52,7 @@ Although training usually coincides with recording,
 this isn't always the case.
 To control *training* vs *predict_mode* without changing
 *recording* vs *not recording*,
-Use a `with autograd.train_mode():`
+use a `with autograd.train_mode():`
 or `with autograd.predict_mode():` block.
 Detailed tutorials are available in Part 1 of


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

View raw message