Constant

Contents

Constant#

class brainpy.initialize.Constant(value=1.0)[source]#

Constant initializer.

Initialize the weights with the given values.

Parameters:

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