code: def test_batch_mm_side_prohibited_mutation_common_side(self):
      @torch.jit.script
      def test_batch_mm(n: int):
          A = torch.zeros((n, n))
          T1 = torch.zeros((n, n))
          T2 = torch.zeros((n, n))
          T3 = torch.zeros((n, n))
          T4 = torch.zeros((n, n))
          T5 = torch.zeros((n, n))
          T6 = torch.zeros((n, n))
          T7 = torch.zeros((n, n))
          T8 = torch.zeros((n, n))
          T9 = torch.zeros((n, n))
          T10 = torch.zeros((n, n))
          torch.relu_(A)
          result = {}
          result["T1"] = torch.mm(A, T1)
          result["T2"] = torch.mm(A, T2)
          result["T3"] = torch.mm(A, T3)
          result["T4"] = torch.mm(A, T4)
          result["T5"] = torch.mm(A, T5)
          result["T6"] = torch.mm(A, T6)
          result["T7"] = torch.mm(A, T7)
          result["T8"] = torch.mm(A, T8)
          result["T9"] = torch.mm(A, T9)
          result["T10"] = torch.mm(A, T10)
          return result
  
      FileCheck().check_count("aten::mm", 10, exactly=True).run(
          test_batch_mm.graph
      )
      self.run_pass("batch_mm", test_batch_mm.graph)
      FileCheck().check_count("aten::mm", 10, exactly=True).check_not(
          "prim::MMBatchSide"
      ).run(test_batch_mm.graph)
  
file_path: pytorch/test/jit/test_batch_mm.py
imports: import torch
  from torch.testing import FileCheck
  from torch.testing._internal.jit_utils import JitTestCase
label_desc: Use image node_id 9 for calling the TestBatchMM obj's underlying member method code with example usage: obj.test_batch_mm_side_prohibited_mutation_common_side() and returns: result