code: def forward(self, predicts, batch):
      loss = self.loss_func(predicts, batch[1].astype("int64"))
      return {"loss": loss}
  
file_path: PaddleOCR/ppocr/losses/rec_pren_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 2 for calling the PRENLoss obj's underlying member method code with example usage: obj.forward(predicts, batch) and returns: dict