Custom initializer


I want to write a custom initializer for a custom layer written in gluon.
Could anyone give me a toy example, like how to write a all-zero custom initializer?



there’s a toy example under mxnet.initializer.register on this page:

of how to create a custome initializer. The example inits weights to 0.1 and biases to 1.