class_docstr: Test utils for HorNet
code: def test_block(self):
      data = torch.rand(1, 16, 2, 3).to(self.device)
      layer1 = Block(dim=16, drop_rate=0.0).to(self.device)
      outs1 = layer1(data)
      self.assertTrue(outs1.shape == (1, 16, 2, 3))
  
      layer2 = Block(
          dim=16, drop_rate=0.3, layer_scale_init_value=0
      ).to(self.device)
      outs2 = layer2(data)
      self.assertTrue(outs2.shape == (1, 16, 2, 3))
  
imports: import unittest
  import torch
  from towhee.models.hornet.utils import GatedConv, GlobalLocalFilter, Block
label_desc: Use image node_id 3 for calling the TestUtils obj's underlying member method code with example usage: obj.test_block() without return types