code: def get_reg_loss(self, point_gt, point_pre):
      loss = self.l2_loss(point_gt, point_pre) / len(point_pre)
      return loss
  
file_path: insightface/reconstruction/PBIDR/code/model/loss.py
imports: import torch
  from torch import nn
  from torch.nn import functional
label_desc: Use image node_id 5 for calling the IFLoss obj's underlying member method code with example usage: obj.get_reg_loss(point_gt, point_pre) and returns: loss