def max_positions(self):
        """Maximum output length supported by the decoder."""
        if self.embed_positions is None:
            return self.max_target_positions
        return min(self.max_target_positions, self.embed_positions.max_positions)
Maximum output length supported by the decoder.
structured_prompting/fairseq-version/fairseq/fairseq/models/wav2vec/wav2vec2_asr.py