src/transformers/time_series_utils.py/DistributionOutput/event_dim
class DistributionOutput:    def event_dim(self) -> int:
        r"""
        Number of event dimensions, i.e., length of the `event_shape` tuple, of the distributions that this object
        constructs.
        """
        return len(self.event_shape)