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 2021/09/24 18:31:47 UTC

[GitHub] [incubator-mxnet] leezu commented on a change in pull request #20601: [BUGFIX] Fix NightlyTestForBinary in master branch

leezu commented on a change in pull request #20601:
URL: https://github.com/apache/incubator-mxnet/pull/20601#discussion_r715826151



##########
File path: python/mxnet/gluon/contrib/estimator/batch_processor.py
##########
@@ -99,7 +100,9 @@ def fit_batch(self, estimator,
             pred = [estimator.net(x) for x in data]
             loss = [estimator.loss(y_hat, y) for y_hat, y in zip(pred, label)]
 
-        for l in loss:
-            l.backward()
+            for l in loss:
+                l.backward()

Review comment:
       You changed the indent
   
   ```suggestion
           for l in loss:
               l.backward()
   ```




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

To unsubscribe, e-mail: commits-unsubscribe@mxnet.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org