    def max_decoder_positions(self):
        """Maximum length supported by the decoder."""
        return self.decoder.max_positions()
Maximum length supported by the decoder.
fairseq/models/fairseq_model.py