brainpy.initialize.Orthogonal#

class brainpy.initialize.Orthogonal(scale=1.0, axis=- 1, seed=None)[source]#

Construct an initializer for uniformly distributed orthogonal matrices.

If the shape is not square, the matrix will have orthonormal rows or columns depending on which side is smaller.

__init__(scale=1.0, axis=- 1, seed=None)[source]#

Methods

__init__([scale, axis, seed])