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 2018/01/07 19:01:50 UTC

[GitHub] szha commented on issue #9338: why share the same value of class member when using multigpu of HybridBlock, bug?

szha commented on issue #9338: why share the same value of class member when using multigpu of HybridBlock, bug?
URL: https://github.com/apache/incubator-mxnet/issues/9338#issuecomment-355844155
 
 
   Regular instance variables behave like instance variables, agnostic of the context.
   Parameter instance variables will have a copy for each of the context and behave as you stated.
   
   Is there a use case where you need context-dependent copy of regular variables?

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