Init

Init#

class seli.net.Init[source]#

Bases: Module

Base class for all initializers. Initializers are typically used to initialize the weights of neural networks.

Hyperparameters are specified in the constructor and the initializer is called with a key, a shape and a dtype.

Methods Summary

__call__(key, shape, dtype)

Call self as a function.

Methods Documentation

__call__(key: Key[Array, ''] | UInt32[Array, '2'], shape: tuple[int, ...], dtype: str | type[Any] | dtype | SupportsDType) Array[source]#

Call self as a function.