code: def print_model_layer_code(model):
      print("layers = [")
      for node, shape in propose_layers_with_shapes(model):
          layer_type = "conv" if len(shape) == 3 else "dense"
          name = node.name.encode("ascii", "replace")
          layer = {"name": name, "type": layer_type, "size": shape[-1]}
          print("  ", layer, ",")
      print(" ]")
  
imports: import lucid.optvis.render
label_desc: Use image node_id 5 for calling a global function with example usage: print_model_layer_code(model) without return types