code: def forward_wrapper(self, model, data, mode):
      out = model.data_preprocessor(data, False)
      inputs, data_samples = out["inputs"], out["data_samples"]
      return model.forward(inputs, data_samples, mode)
  
file_path: mmocr/tests/test_models/test_kie/test_extractors/test_sdmgr.py
imports: import copy
  import unittest
  from os.path import dirname, exists, join
  import torch
  from mmengine.config import Config, ConfigDict
  from mmengine.structures import InstanceData
  from mmocr.registry import MODELS
  from mmocr.structures import KIEDataSample
label_desc: Use image node_id 4 for calling the TestSDMGR obj's underlying member method code with example usage: obj.forward_wrapper(model, data, mode) and returns: model