Constant

class Constant(value)

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.