code: def assert_shape_equal_scripted(self, script_fn, given_ins):
      expected_res = script_fn(*given_ins)
      g = script_fn.graph
      graph_ins = list(g.inputs())
      self.assertEqual(len(given_ins), len(graph_ins))
      for inp, graph_in in zip(given_ins, graph_ins):
          graph_in.setType(graph_in.type().with_sizes(inp.size()))
  
      out_sizes = [out.size() for out in expected_res]
      self.checkShapeAnalysis(out_sizes, g, assert_propagation=True)
  
imports: import operator
  import unittest
  from textwrap import dedent
  import torch
  from torch import nn, Tensor
  from torch.testing import FileCheck
  from torch.testing._internal.common_methods_invocations import sample_inputs_cat_concat
  from torch.testing._internal.common_utils import make_tensor
  from torch.testing._internal.jit_utils import JitTestCase, execWrapper
  from typing import List, Any
label_desc: Use image node_id 17 for calling the TestSymbolicShapeAnalysis obj's underlying member method code with example usage: obj.assert_shape_equal_scripted(script_fn, given_ins) without return types