code: def __init__(self, **kwargs):
      super().__init__()
      self.loss_func = nn.CrossEntropyLoss(
          weight=None,
          ignore_index=0,
          reduction="none",
          soft_label=True,
          axis=-1,
      )
  
file_path: PaddleOCR/ppocr/losses/ace_loss.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import paddle
  import paddle.nn
label_desc: Use image node_id 1 to create a new ACELoss object from inherited base classes: nn with example: obj = ACELoss()