code: def setUp(self) -> None:
      self.img = torch.rand(1, 3, 32, 100)
      init_default_scope("mmocr")
  
file_path: mmocr/tests/test_models/test_textrecog/test_backbones/test_resnet.py
imports: from unittest import TestCase
  import torch
  from mmengine.registry import init_default_scope
  from mmocr.models.textrecog.backbones import ResNet
label_desc: Use image node_id 1 for calling the TestResNet obj's underlying member method code with example usage: obj.setUp() without return types