src/transformers/models/time_series_transformer/configuration_time_series_transformer.py/TimeSeriesTransformerConfig/_number_of_features
class TimeSeriesTransformerConfig:    def _number_of_features(self) -> int:
        return (
            sum(self.embedding_dimension)
            + self.num_dynamic_real_features
            + self.num_time_features
            + self.num_static_real_features
            + self.input_size * 2  # the log1p(abs(loc)) and log(scale) features
        )