code: def __init__(self, **kwargs):
      super(ClsLoss, self).__init__()
      self.loss_func = nn.CrossEntropyLoss(reduction="mean")
  
file_path: PaddleOCR/ppocr/losses/cls_loss.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from paddle import nn
label_desc: Use image node_id 1 to create a new ClsLoss object from inherited base classes: nn with example: obj = ClsLoss()