code: def __init__(
      self,
  ) -> None:
      super().__init__(self)
  
      self.args_dim = cast(
          Dict[str, int],
          {
              "xi": 1,
              "beta": 1,
          },
      )
  
imports: from numbers import Number
  from typing import Dict, Optional, Tuple, cast
  import numpy
  import torch
  from torch.distributions import Distribution, constraints
  from torch.distributions.utils import broadcast_all
  from gluonts.core.component import validated
  from .distribution_output import DistributionOutput
label_desc: Use image node_id 1 to create a new GeneralizedParetoOutput object from inherited base classes: DistributionOutput with example: obj = GeneralizedParetoOutput()