code: def test_basic(self):
      seq = torch.jit.script(Sequence())
      p = torch.jit._ScriptProfile()
      p.enable()
      seq(torch.rand((10, 100)))
      p.disable()
      self.assertNotEqual(p.dump_string(), "")
  
file_path: pytorch/test/jit/test_script_profile.py
imports: import os
  import sys
  import torch
  from torch import nn
  from torch.testing._internal.jit_utils import JitTestCase
label_desc: Use image node_id 1 for calling the TestScriptProfile obj's underlying member method code with example usage: obj.test_basic() without return types