code: def _replace_sym_size_ops_pass(gm: torch.fx.GraphModule):
      for module in gm.modules():
          if not isinstance(module, torch.fx.GraphModule):
              continue
          for node in module.graph.nodes:
              if node.target in replacements:
                  node.target = replacements[node.target]
  
label_desc: Use image node_id 1 for calling a global function with example usage: _replace_sym_size_ops_pass(gm) without return types