code: def domain_map(  # type: ignore
      cls,
      xi: torch.Tensor,
      beta: torch.Tensor,
  ) -> Tuple[torch.Tensor, torch.Tensor]:
      xi = torch.abs(xi)
      beta = torch.abs(beta)
  
      return xi, beta
  
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 2 for calling the GeneralizedParetoOutput obj's underlying member method code with example usage: obj.domain_map(cls, xi, beta) and returns: xi,  beta