sandeep-krishnamurthy commented on a change in pull request #13938: 
[MXNET-1291] solve pylint errors in examples with issue no.12205
URL: https://github.com/apache/incubator-mxnet/pull/13938#discussion_r251091660
 
 

 ##########
 File path: example/autoencoder/model.py
 ##########
 @@ -53,7 +54,7 @@ def extract_feature(sym, args, auxs, data_iter, N, 
xpu=mx.cpu()):
 
 
 class MXModel(object):
-    def __init__(self, xpu=mx.cpu(), *args, **kwargs):
+    def __init__(self, *args, xpu=mx.cpu(), **kwargs):
 
 Review comment:
   why?

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to