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/13 06:57:18 UTC

[GitHub] eric-haibin-lin commented on issue #8539: expose group2ctx to module

eric-haibin-lin commented on issue #8539: expose group2ctx to module
URL: https://github.com/apache/incubator-mxnet/pull/8539#issuecomment-343830155
 
 
   I think accepted arguments should be in the form of:
   1. `{'dev1':mx.cpu(), 'dev2':mx.gpu(0)}`
   2. `{'dev1':mx.cpu(), 'dev2':[mx.gpu(0)]}`
   3. `{'dev1':mx.cpu(), 'dev2':[mx.gpu(0), mx.gpu(1)]}`, 
   4. `{'dev1':[mx.cpu(), mx.cpu()], 'dev2':[mx.gpu(0), mx.gpu(1)]}`, 
   
   1 and 2 are equivalent. 3 and 4 are equivalent. For the case of 3, we transform `g2x['dev1']` to [mx.cpu()] * 2 internally. 

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