yuxihu edited a comment on issue #14431: Add post initialization callback for 
Gluon Parameter
URL: https://github.com/apache/incubator-mxnet/pull/14431#issuecomment-473075802
 
 
   > why not do the synchronization after you know the initialization is 
complete? adding callback is generally not recommended as it's obscure to use.
   
   It can be done like that. Users need to broadcast parameters in the Gluon 
train loop after the first forward pass. Based on my offline discussion with 
@eric-haibin-lin, we do not think that's a very good user experience. In 
addition, with the upcoming Gluon fit API, users may not need to write the 
train loop anymore. In that case, we still need a way to sync the parameters.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to