code: def domain_map(self, F, probs):
      if not mx.autograd.is_training():
          probs = probs / self.temperature
      log_probs_s = F.log_softmax(probs)
      return log_probs_s
  
imports: from typing import List, Tuple
  import mxnet
  import numpy
  from gluonts.core.component import validated
  from gluonts.mx import Tensor
  from .distribution import Distribution, _sample_multiple, getF
  from .distribution_output import DistributionOutput
label_desc: Use image node_id 2 for calling the CategoricalOutput obj's underlying member method code with example usage: obj.domain_map(F, probs) and returns: log_probs_s