code: def test_sequence_pool(self):
      model = SequencePool("cls")
      fake_input = torch.rand(8, 10, 10)
      output = model(fake_input)
      self.assertTrue(torch.equal(output, fake_input[:, 0]))
      model = SequencePool("mean")
      output = model(fake_input)
      self.assertTrue(torch.equal(output, fake_input.mean(1)))
  
imports: import torch
  import unittest
  from towhee.models.layers.sequence_pool import SequencePool
label_desc: Use image node_id 1 for calling the SequencePoolTest obj's underlying member method code with example usage: obj.test_sequence_pool() without return types