seli.net#
Building neural networks from Modules.
Contains many pre-built modules for common neural network layers.
This folder contains the functionality for creating and manipulating networks.
Classes#
|
Add the output of a sequence of modules to the input. |
|
Apply a learnable linear transformation followed by a learnable bias. |
|
Add a learnable bias to the last axis of the input. |
|
Return a constant value. |
|
Perform cross-attention between two sequences. |
|
Apply dot-product attention to a sequence. |
|
Wrapper around einops.einsum. |
|
Base class for all initializers. |
|
Initializes values from a normal distribution. |
|
Initializes all values to one. |
|
Initialize weights as an orthogonal matrices. |
|
Initializes values from a truncated normal distribution. |
|
Initializes values from a uniform distribution. |
Initializes all values to zero. |
|
|
Normalize the input along the last axis. |
|
Apply a learnable linear transformation to last axis of the input. |
|
Multiply the output of a sequence of modules by the input. |
|
Organizes a parameter |
|
Scale the input by the reciprocal of the root mean square along the last axis. |
|
Rearrange the input tensor according to the given pattern. |
|
Reduce the input tensor according to the given pattern and the reduction type. |
|
Repeat the input tensor according to the given pattern. |
|
Scale the last axis of the input by a learnable vector. |
|
Call a sequence of modules in order. |