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 2017/11/08 05:32:20 UTC

[GitHub] eric-haibin-lin commented on a change in pull request #8539: expose group2ctx to module

eric-haibin-lin commented on a change in pull request #8539: expose group2ctx to module
URL: https://github.com/apache/incubator-mxnet/pull/8539#discussion_r149578575
 
 

 ##########
 File path: python/mxnet/module/module.py
 ##########
 @@ -73,6 +75,11 @@ def __init__(self, symbol, data_names=('data',), label_names=('softmax_label',),
         assert len(work_load_list) == len(self._context)
         self._work_load_list = work_load_list
 
+        if group2ctxs is None:
 
 Review comment:
   This seems redundant since you already checked `None` in DataExecutorGroup? 

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