code: def test_forward(self):
      model = ABIEncoder()
      x = torch.randn(10, 512, 8, 32)
      self.assertEqual(
          model(x, None).shape, torch.Size([10, 512, 8, 32])
      )
  
imports: from unittest import TestCase
  import torch
  from mmocr.models.textrecog.encoders.abi_encoder import ABIEncoder
label_desc: Use image node_id 2 for calling the TestABIEncoder obj's underlying member method code with example usage: obj.test_forward() without return types