Affine#
- class seli.net.Affine(dim: int)[source]#
Bases:
ModuleApply a learnable linear transformation followed by a learnable bias.
- Parameters:
dim (int) – The output dimension of the linear transformation. The input dimension is inferred from the last axis of the first input.
Attributes Summary
Methods Summary
__call__(x)Call self as a function.
Attributes Documentation
- dim_in#
Methods Documentation