code: def test_single_input(self) -> None:
      size = (2, 3)
      summarizer = Summarizer(stats=CommonStats())
      for _ in range(10):
          attrs = torch.randn(size)
          summarizer.update(attrs)
  
      summ = summarizer.summary
      self.assertIsNotNone(summ)
      self.assertTrue(isinstance(summ, dict))
  
      for k in summ:
          self.assertTrue(summ[k].size() == size)
  
imports: import torch
  from captum.attr import CommonStats, Summarizer
  from tests.helpers.basic import BaseTest
label_desc: Use image node_id 1 for calling the Test obj's underlying member method code with example usage: obj.test_single_input() without return types