Identity#

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

Returns the identity matrix.

This initializer was proposed in (Le, et al., 2015) [1].

Parameters:

value (float) – The optional scaling factor.

Returns:

shape – The weight shape/size.

Return type:

tuple of int

References