code: def infuse_metadata(graph_def, info):
      """Embed meta data as a string constant in a TF graph.
  
      This function takes info, converts it into json, and embeds
      it in graph_def as a constant op called `__lucid_metadata_json`.
      """
      temp_graph = tf.Graph()
      with temp_graph.as_default():
          tf.constant(
              json.dumps(info, cls=ClarityJSONEncoder),
              name=metadata_node_name,
          )
      meta_node = temp_graph.as_graph_def().node[0]
      graph_def.node.extend([meta_node])
  
file_path: lucid/lucid/modelzoo/util.py
imports: from __future__ import absolute_import, division, print_function
  import tensorflow
  import json
  from google.protobuf.message import DecodeError
  import logging
  import warnings
  from collections import defaultdict
  from itertools import chain
  from lucid.misc.io import load
  from lucid.misc.io.saving import ClarityJSONEncoder
label_desc: Use image node_id 5 for calling a global function with example usage: infuse_metadata(graph_def, info) without return types