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.
- Position
Wise Feed Forward Record - The record type for the module.
- Position
Wise Feed Forward Record Item - The record item type for the module.
- 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 Record - The record type for the module.
- Transformer
Decoder Layer Record Item - The record item type for the module.
- Transformer
Decoder Record - The record type for the module.
- Transformer
Decoder Record Item - The record item type for the module.
- 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 Record - The record type for the module.
- Transformer
Encoder Layer Record Item - The record item type for the module.
- Transformer
Encoder Record - The record type for the module.
- Transformer
Encoder Record Item - The record item type for the module.