Time Series Utilities

This page lists all the utility functions and classes that can be used for Time Series based models.

Most of those are only useful if you are studying the code of the time series models or you wish to add to the collection of distributional output classes.

## [](#transformers.time_series_utils.NormalOutput)Distributional Output

### class transformers.time\_series\_utils.NormalOutput

[](#transformers.time_series_utils.NormalOutput)[< source \>](https://github.com/huggingface/transformers/blob/v4.30.0/src/transformers/time_series_utils.py#L179)

( dim: int = 1 )

Normal distribution output class.

### class transformers.time\_series\_utils.StudentTOutput

[](#transformers.time_series_utils.StudentTOutput)[< source \>](https://github.com/huggingface/transformers/blob/v4.30.0/src/transformers/time_series_utils.py#L164)

( dim: int = 1 )

Student-T distribution output class.

### class transformers.time\_series\_utils.NegativeBinomialOutput

[](#transformers.time_series_utils.NegativeBinomialOutput)[< source \>](https://github.com/huggingface/transformers/blob/v4.30.0/src/transformers/time_series_utils.py#L193)

( dim: int = 1 )

Negative Binomial distribution output class.