class_docstr: Cross entropy loss function for image classification tasks
  
  Args:
      opts: command-line arguments
class_docstr_tok: ["Cross","entropy","loss","function","for","image","classification","tasks","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}"
      )
  
file_path: ml-cvnets/loss_fn/classification/cross_entropy.py
imports: import argparse
  from torch import Tensor
  from torch.nn import functional
  from loss_fn import LOSS_REGISTRY
  from loss_fn.classification.base_classification_criteria import BaseClassificationCriteria
  from loss_fn.utils.class_weighting import compute_class_weights
label_desc: Use image node_id 4 for calling the CrossEntropy obj's underlying member method code with example usage: obj.extra_repr() and returns: str, self, str, self, str, self