code: def cut_shapes(graph):
      keep_nodes = [
          node.name for node in graph.nodes if node.op != "Shape"
      ]
      return graph.filter(keep_nodes, pass_through=False)
  
label_desc: Use image node_id 2 for calling a global function with example usage: cut_shapes(graph) and returns: graph