src/transformers/models/time_series_transformer/modeling_time_series_transformer.py/TimeSeriesTransformerForPrediction/get_encoder
class TimeSeriesTransformerForPrediction:    def get_encoder(self):
        return self.model.get_encoder()