Documentation
¶
Overview ¶
RLA (Recurrent Linear Attention) "Transformers are RNNs: Fast Autoregressive Transformers with Linear Attention" by Katharopoulos et al., 2020. TODO: support arbitrary mapping functions
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Model ¶
type Processor ¶
type Processor struct { nn.BaseProcessor States []*State // contains filtered or unexported fields }
func (*Processor) Forward ¶
Forward performs the forward step for each input and returns the result.
func (*Processor) SetInitialState ¶
Click to show internal directories.
Click to hide internal directories.