code: def test_resnet45_abi(self):
      resnet45_abi = ResNet(
          in_channels=3,
          stem_channels=32,
          block_cfgs=dict(type="BasicBlock", use_conv1x1="True"),
          arch_layers=[3, 4, 6, 6, 3],
          arch_channels=[32, 64, 128, 256, 512],
          strides=[2, 1, 2, 1, 1],
      )
      self.assertEqual(
          resnet45_abi(self.img).shape, torch.Size([1, 512, 8, 25])
      )
  
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 3 for calling the TestResNet obj's underlying member method code with example usage: obj.test_resnet45_abi() without return types