Table Of Contents
Table Of Contents


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.

Initialize self. See help(type(self)) for accurate signature.


__init__(value) Initialize self.
dumps() Saves the initializer to string
set_verbosity([verbose, print_func]) Switch on/off verbose mode