code: def enum(**enums):
      class Enum(object):
          pass
  
      to_return = Enum
      for key, val in enums.items():
          if hasattr(val, "__call__"):
              setattr(to_return, key, staticmethod(val))
          else:
              setattr(to_return, key, val)
      to_return.vals = [x for x in enums.values()]
      to_return.the_dict = enums
      return to_return
  
imports: from __future__ import division
  from __future__ import print_function
  from __future__ import absolute_import
  import sys
  import os
  import os.path
  import numpy
  from collections import namedtuple
  from collections import OrderedDict
  import json
  import deeplift
  import tensorflow
label_desc: Use image node_id 3 for calling a global function with example usage: enum() and returns: to_return