code: def test_scripted_model(self):
      model = torch.jit.script(SimpleModel())
      self.do_dump_model(model)
  
imports: import os
  import io
  import functools
  import tempfile
  import urllib
  import unittest
  import torch
  import torch.backends.xnnpack
  import torch.utils.model_dump
  import torch.utils.mobile_optimizer
  from torch.testing._internal.common_utils import TestCase, run_tests, IS_WINDOWS, skipIfNoXNNPACK
  from torch.testing._internal.common_quantized import supported_qengines
label_desc: Use image node_id 6 for calling the TestModelDump obj's underlying member method code with example usage: obj.test_scripted_model() without return types