code: def test_call(self):
      postprocessor = DRRGPostprocessor()
      pred_results = (
          np.random.randint(0, 2, (10, 2)),
          np.random.rand(10),
          np.random.rand(2, 9),
      )
      data_sample = TextDetDataSample(
          metainfo=dict(scale_factor=(0.5, 1)),
          gt_instances=InstanceData(
              polygons=[
                  np.array([0, 0, 0, 1, 2, 1, 2, 0]),
                  np.array([1, 1, 1, 2, 3, 2, 3, 1]),
              ]
          ),
      )
      result = postprocessor(pred_results, [data_sample])[0]
      self.assertIn("polygons", result.pred_instances)
      self.assertIn("scores", result.pred_instances)
      self.assertTrue(
          isinstance(result.pred_instances["scores"], torch.FloatTensor)
      )
  
file_path: mmocr/tests/test_models/test_textdet/test_postprocessors/test_drrg_postprocessor.py
imports: import unittest
  import numpy
  import torch
  from mmengine.structures import InstanceData
  from mmocr.models.textdet.postprocessors import DRRGPostprocessor
  from mmocr.structures import TextDetDataSample
label_desc: Use image node_id 1 for calling the TestDRRGPostProcessor obj's underlying member method code with example usage: obj.test_call() without return types