InitOnes

InitOnes#

class seli.net.InitOnes[source]#

Bases: Init

Initializes all values to one.

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.