initializers#

Functions

block_diagonal(blocks)

Create a block diagonal matrix from a list of matrices.

block_diagonal_coupling(block_sizes, couplings)

Create the coupling matrix for a given block diagonal matrix.

diagonal(shape[, min_val, max_val, dtype])

Diagonal random tensor.

lower_feedforward(shape[, dtype])

Lower feedforward matrix.

normal(shape[, mean, std, dtype])

Normal random tensor.

ones(shape[, dtype])

Ones tensor.

orthogonal(shape[, dtype])

Orthogonal matrix. See:

rescale(tensor[, method, value])

Rescale a matrix in-place.

ring(n_units[, values, dtype])

Ring matrix. See:

sparse(shape[, density, values_sampler, ...])

Sparse random tensor.

uniform(shape[, min_val, max_val, dtype])

Uniform random tensor.

zeros(shape[, dtype])

Zeros tensor.