Module transformer
Expand description
Transformer module
Structsยง
- Position
Wise Feed Forward - Applies the position-wise feed-forward network to the input tensor from the paper Attention Is All You Need.
- Position
Wise Feed Forward Config - Configuration to create a position-wise feed-forward layer using the init function.
- Transformer
Decoder - The transformer decoder module as describe in the paper Attention Is All You Need.
- Transformer
Decoder Autoregressive Cache - Autoregressive cache for the Transformer Decoder layer.
- Transformer
Decoder Config - Configuration to create a Transformer Decoder layer using the init function.
- Transformer
Decoder Input - Transformer Decoder forward pass input argument.
- Transformer
Decoder Layer - Transformer Decoder layer module.
- Transformer
Decoder Layer Autoregressive Cache - Autoregressive cache for a single Transformer Decoder Layer.
- Transformer
Encoder - The transformer encoder module as describe in the paper Attention Is All You Need.
- Transformer
Encoder Autoregressive Cache - Autoregressive cache for the Transformer Encoder layer.
- Transformer
Encoder Config - Configuration to create a Transformer Encoder layer using the init function.
- Transformer
Encoder Input - Transformer Encoder forward pass input argument.
- Transformer
Encoder Layer - Transformer encoder layer module.
- Transformer
Encoder Layer Autoregressive Cache - Autoregressive cache for a single Transformer Encoder Layer.