class_docstr: Cross entropy loss for the task of semantic segmentation.
  
  Args:
      opts: command-line arguments
code: def extra_repr(self) -> str:
      return (
          f"\n\t ignore_idx={self.ignore_idx}"
          f"\n\t class_weighting={self.use_class_wts}"
          f"\n\t label_smoothing={self.label_smoothing}"
          f"\n\t aux_weight={self.aux_wt}"
      )
  
file_path: ml-cvnets/loss_fn/segmentation/cross_entropy.py
imports: import argparse
  from typing import Any, Mapping, Optional, Tuple, Union
  from torch import Tensor
  from torch.nn import functional
  from loss_fn import LOSS_REGISTRY
  from loss_fn.segmentation.base_segmentation_criteria import BaseSegmentationCriteria
  from loss_fn.utils.class_weighting import compute_class_weights
  from utils import logger
label_desc: Use image node_id 6 for calling the SegCrossEntropy obj's underlying member method code with example usage: obj.extra_repr() and returns: str, self, str, self, str, self, str, self