code: def test_get_target(self):
      pan_loss = PANModuleLoss()
      gt_kernels, gt_masks = pan_loss.get_targets(self.data_samples)
      self.assertEqual(gt_kernels.shape, (2, 1, 40, 40))
      self.assertEqual(gt_masks.shape, (1, 40, 40))
  
file_path: mmocr/tests/test_models/test_textdet/test_module_losses/test_pan_module_loss.py
imports: from unittest import TestCase
  import numpy
  import torch
  import torch.nn
  from mmengine.structures import InstanceData
  from mmocr.models.textdet.module_losses import PANModuleLoss
  from mmocr.models.textdet.module_losses.pan_module_loss import PANEmbLossV1
  from mmocr.structures import TextDetDataSample
label_desc: Use image node_id 3 for calling the TestPANModuleLoss obj's underlying member method code with example usage: obj.test_get_target() without return types