code: def test_mergingblock(self):
      mergingblock1 = MerigingBlock(
          self.img.shape[1], self.img.shape[1] * 2, types="Pool"
      )
      mergingblock2 = MerigingBlock(
          self.img.shape[1], self.img.shape[1] * 2, types="Conv"
      )
      self.assertEqual(
          [
              mergingblock1(self.img).shape,
              mergingblock2(self.img).shape,
          ],
          [
              torch.Size([1, 4 * 25, 64 * 2]),
              torch.Size([1, 4 * 25, 64 * 2]),
          ],
      )
  
imports: from unittest import TestCase
  import torch
  from mmocr.models.textrecog.encoders.svtr_encoder import AttnMixer, ConvMixer, MerigingBlock, MixingBlock, OverlapPatchEmbed, SVTREncoder
label_desc: Use image node_id 2 for calling the TestMergingBlock obj's underlying member method code with example usage: obj.test_mergingblock() without return types