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