IdentityInitialiser#

class hypercoil.init.base.IdentityInitialiser(scale: float = 1, shift: float = 0, mapper: Type[MappedParameter] | None = None)[source]#

Initialise a parameter such that all slices along the final two axes are identity matrices.

See identity_init() and MappedInitialiser for argument details.

Methods

init(model, *[, mapper, scale, shift, ...])

Initialise a parameter using the specified initialiser and mapper.