code: def get_run_key(feed_dict, fetches):
      """Summarize the names of feeds and fetches as a RunKey JSON string.
  
      Args:
        feed_dict: The feed_dict given to the `Session.run()` call.
        fetches: The fetches from the `Session.run()` call.
  
      Returns:
        A JSON Array consisting of two items. They first items is a flattened
        Array of the names of the feeds. The second item is a flattened Array of
        the names of the fetches.
      """
      return json.dumps(
          RunKey(
              get_flattened_names(feed_dict),
              get_flattened_names(fetches),
          )
      )
  
imports: import collections
  import json
label_desc: Use image node_id 3 for calling a global function with example usage: get_run_key(feed_dict, fetches) and returns: json