src/transformers/models/informer/modeling_informer.py/InformerModel/_past_length
class InformerModel:    def _past_length(self) -> int:
        return self.config.context_length + max(self.config.lags_sequence)