Skip to main content

Module init

Module init 

Source
Expand description

Initializers with the definitions of jax.nn.initializers, computed natively (initialization runs once, so it is not traced).

Functionsยง

orthogonal
An orthogonal matrix of shape [rows, cols] scaled by scale (jax.nn.initializers.orthogonal(scale) for a matrix): the Q of the QR decomposition of a matrix of standard normal values, with the signs that make the diagonal of R positive (so Q does not depend on the QR algorithm, up to rounding).
zeros
Zeros of a shape (jax.nn.initializers.zeros).