Orthogonal

Contents

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.