code: def test_multi(self):
      seq = torch.jit.script(Sequence())
      profiles = [torch.jit._ScriptProfile() for _ in range(5)]
      for p in profiles:
          p.enable()
  
      last = None
      while len(profiles) > 0:
          seq(torch.rand((10, 10)))
          p = profiles.pop()
          p.disable()
          stats = p.dump_string()
          self.assertNotEqual(stats, "")
          if last:
              self.assertNotEqual(stats, last)
          last = stats
  
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 3 for calling the TestScriptProfile obj's underlying member method code with example usage: obj.test_multi() without return types