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/04/22 21:43:20 UTC

[GitHub] ThomasDelteil commented on issue #10637: [MXNET-352] Document behavior of mx.initializer.Constant

ThomasDelteil commented on issue #10637: [MXNET-352] Document behavior of mx.initializer.Constant
URL: https://github.com/apache/incubator-mxnet/pull/10637#issuecomment-383414699
 
 
   There are several `module` API specific examples in this file, I can switch the example to a module one if you prefer.
   However I have to say that I disagree that using `set_data` is more convenient. My opinion is that for a new user, the first place to go when wanting to initialize the weights of a layer to a specific value would be the `weight_initializer` parameter, rather than calling `layer.collect_params()['dense0_weight'].set_data()`

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