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 09:16:01 UTC
[GitHub] Jing-Luo commented on issue #1356: override global initialization method in layer configuration
Jing-Luo commented on issue #1356: override global initialization method in layer configuration
URL: https://github.com/apache/incubator-mxnet/issues/1356#issuecomment-342756881
```
init = mx.initializer.Mixed(['bias', '.*'], [mx.init.Zero(), mx.init.Xavier(magnitude=2.24)])
net.collect_params().initialize(init, ctx=ctx)
```
It seems that Mixed type is different from those normal ones. The code above will return error
'initializer must be of string type'
----------------------------------------------------------------
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