LNSModule
|
An LNS module that serves as a base class for all LNS layers. |
LNSIdentity
|
An LNS identity layer that does not change the input. |
LNSLinear
|
An LNS linear layer that performs a linear transformation on the input, \(x\). |
LNSBilinear
|
An LNS bilinear layer that performs a bilinear transformation on two inputs, \(x_1\) and \(x_2\). |
LNSLazyLinear
|
An LNS lazy linear layer that performs a linear transformation on the input, \(x\), without initializing the weight and bias parameters until the first forward pass. |
LNSDropout
|
An LNS dropout layer that randomly zeroes some of the elements of the input tensor with a probability \(p\) during training. |
LNSDropout1d
|
An LNS dropout layer that randomly zeroes out entire channels of the input tensor with a probability \(p\) during training. |
LNSDropout2d
|
An LNS dropout layer that randomly zeroes out entire channels of the input tensor with a probability \(p\) during training. |
LNSDropout3d
|
An LNS dropout layer that randomly zeroes out entire channels of the input tensor with a probability \(p\) during training. |
LNSConv1d
|
An LNS 1D convolutional layer that applies a 1D convolution over the input tensor. |
LNSConv2d
|
An LNS 2D convolutional layer that applies a 2D convolution over the input tensor. |
LNSConv3d
|
An LNS 3D convolutional layer that applies a 3D convolution over the input tensor. |
LNSBatchNorm1d
|
An LNS 1D normalization layer that applies a 1D batch normalization over the input tensor. |
LNSBatchNorm2d
|
An LNS 2D normalization layer that applies a 2D batch normalization over the input tensor. |
LNSBatchNorm3d
|
An LNS 1D normalization layer that applies a 1D batch normalization over the input tensor. |
LNSLayerNorm
|
Applies Layer Normalization over a mini-batch of inputs. |
LNSAvgPool1d
|
An LNS 1D average pooling layer that applies a 1D average pooling operation over the input tensor. |
LNSAvgPool2d
|
An LNS 2D average pooling layer that applies a 2D average pooling operation over the input tensor. |
LNSAvgPool3d
|
An LNS 3D average pooling layer that applies a 3D average pooling operation over the input tensor. |
LNSAdaptiveAvgPool1d
|
An LNS 1D adaptive average pooling layer that applies a 1D adaptive average pooling operation over the input tensor. |
LNSAdaptiveAvgPool2d
|
An LNS 2D adaptive average pooling layer that applies a 2D adaptive average pooling operation over the input tensor. |
LNSAdaptiveAvgPool3d
|
An LNS 3D adaptive average pooling layer that applies a 3D adaptive average pooling operation over the input tensor. |
LNSMaxPool1d
|
An LNS 1D maximum pooling layer that applies a 1D maximum pooling operation over the input tensor. |
LNSMaxPool2d
|
An LNS 2D maximum pooling layer that applies a 2D maximum pooling operation over the input tensor. |
LNSMaxPool3d
|
An LNS 3D maximum pooling layer that applies a 3D maximum pooling operation over the input tensor. |
LNSRNN
|
An LNS multi-layer Elman RNN. |
LNSRNNCell
|
An LNS Elman RNN cell. |
LNSLSTM
|
An LNS multi-layer long-short term memory (LSTM) RNN. |
LNSLSTMCell
|
An LNS long-short term memory (LSTM) cell. |
LNSGRU
|
An LNS multi-layer gated recurrent unit (GRU) RNN. |
LNSGRUCell
|
An LNS gated recurrent unit (GRU) cell. |
LNSMultiheadAttention
|
An LNS multi-head attention layer. |