code: def reverse_dictionary(dic):
      # Build reverse dict
      rev_dic = {}
      for key in dic:
          rev_dic[dic[key]] = key
      return rev_dic
  
file_path: tflearn/tflearn/models/generator.py
imports: from __future__ import division, print_function, absolute_import
  import sys
  import numpy
  import tensorflow.compat.v1
  from ..helpers.trainer import Trainer, evaluate
  from ..helpers.evaluator import Evaluator
  from ..utils import feed_dict_builder, is_none
label_desc: Use image node_id 1 for calling a global function with example usage: reverse_dictionary(dic) and returns: rev_dic