torch_brain.nn#
Embedding modules#
A simple extension of |
|
Embedding layer with a vocabulary that can be extended. |
|
Rotary time/positional embedding layer. |
|
Sinusoidal time/position embedding layer. |
Readout#
A module that performs multi-task linear readouts from output embeddings. |
|
Losses#
Base class for losses. |
|