code: def test_wrong_input_size(self):
      print("expect error here:")
      with self.assertRaises(RuntimeError):
          dummy_input = torch.rand(1, 9)
          model = torch.nn.Linear(3, 5)
          with SummaryWriter(comment="expect_error") as w:
              w.add_graph(model, dummy_input)
  
file_path: tensorboardX/tests/test_pytorch_graph.py
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import unittest
  import torch
  from tensorboardX import SummaryWriter
label_desc: Use image node_id 2 for calling the PytorchGraphTest obj's underlying member method code with example usage: obj.test_wrong_input_size() without return types