Run the forward pass for a encoder-only model. Feeds a batch of tokens through the encoder to generate features. Args: src_tokens (LongTensor): input tokens of shape `(batch, src_len)` src_lengths (LongTensor): source sentence lengths of shape `(bat
(self, src_tokens, src_lengths, **kwargs)
source not stored for this graph (policy: none)