code: def filter_graph_cut_shapes(graph):
      keep_nodes = [
          node.name for node in graph.nodes if node.op != "Shape"
      ]
      return filter_graph(graph, keep_nodes, pass_through=False)
  
imports: import numpy
  import tensorflow
  import lucid.modelzoo.vision_models
  import lucid.optvis.objectives
  import lucid.optvis.param
  import lucid.optvis.render
  from lucid.misc.io import show, load
  from lucid.misc.io.showing import _image_url, _display_html
  from collections import defaultdict
label_desc: Use image node_id 3 for calling a global function with example usage: filter_graph_cut_shapes(graph) and returns: filter_graph