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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to