code: def test_forward(self):
      model = CLIPResNet()
      model.eval()
  
      imgs = torch.randn(1, 3, 32, 32)
      feat = model(imgs)
      assert len(feat) == 4
      assert feat[0].shape == torch.Size([1, 256, 8, 8])
      assert feat[1].shape == torch.Size([1, 512, 4, 4])
      assert feat[2].shape == torch.Size([1, 1024, 2, 2])
      assert feat[3].shape == torch.Size([1, 2048, 1, 1])
  
file_path: mmocr/tests/test_models/test_common/test_backbones/test_clip_resnet.py
imports: from unittest import TestCase
  import torch
  import torch.nn
  from mmcv.cnn import build_conv_layer, build_norm_layer
  from mmocr.models.common.backbones import CLIPResNet
  from mmocr.models.common.backbones.clip_resnet import CLIPBottleneck
label_desc: Use image node_id 1 for calling the TestCLIPResNet obj's underlying member method code with example usage: obj.test_forward() without return types