Constant

Contents

Constant#

class brainstate.nn.init.Constant(value=1.0)#

Constant initializer.

Initialize the weights with the given values.

Parameters:

value (float, int, bm.ndarray) – The value to specify.