Table Of Contents
Table Of Contents

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.

__init__(value)[source]

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

Methods

__init__(value)

Initialize self.

dumps()

Saves the initializer to string

set_verbosity([verbose, print_func])

Switch on/off verbose mode