class_docstr: Test RepMLP model
code: def test_locality_injection(self):
      data = torch.rand(1, 4, 16, 16)
      model = RepMLPNet(
          in_channels=4,
          num_class=10,
          patch_size=(4, 4),
          num_blocks=(2, 4),
          channels=(2, 4),
          hs=(4, 2),
          ws=(4, 2),
          sharesets_nums=(2, 4),
          reparam_conv_k=(1,),
          globalperceptron_reduce=2,
          use_checkpoint=False,
          deploy=False,
      )
      model.locality_injection()
      outs = model(data)
      # print(outs.shape)
      self.assertTrue(outs.shape == (1, 10))
  
file_path: towhee/tests/unittests/models/repmlp/test_repmlp.py
imports: import unittest
  import torch
  from towhee.models.repmlp import RepMLPNetUnit, RepMLPNet, create_model
label_desc: Use image node_id 3 for calling the TestRepMLP obj's underlying member method code with example usage: obj.test_locality_injection() without return types