mxnet.initializer.Constant¶
-
class
mxnet.initializer.
Constant
(value)[source]¶ Initializes the weights to a given value. The value passed in can be a scalar or a NDarray that matches the shape of the parameter to be set.
- Parameters
value (float, NDArray) – Value to set.
Methods
__init__
(value)Initialize self.
dumps
()Saves the initializer to string
set_verbosity
([verbose, print_func])Switch on/off verbose mode