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

 ##########
 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:
   I forget that why I change it, and it seems like the position of *args does 
not impact anything in the module, therefore I intend to keep the original 
design(parameter *args at 2nd).

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