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 2019/01/25 18:48:00 UTC

[GitHub] sandeep-krishnamurthy commented on a change in pull request #13938: [MXNET-1291] solve pylint errors in examples with issue no.12205

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


With regards,
Apache Git Services