class_docstr: Test utils for HorNet
code: def test_filter(self):
      data = torch.rand(1, 4, 2, 3).to(self.device)
      layer = GlobalLocalFilter(dim=4, h=2, w=3).to(self.device)
      outs = layer(data)
      self.assertTrue(outs.shape == (1, 4, 2, 3))
  
imports: import unittest
  import torch
  from towhee.models.hornet.utils import GatedConv, GlobalLocalFilter, Block
label_desc: Use image node_id 2 for calling the TestUtils obj's underlying member method code with example usage: obj.test_filter() without return types