code: def get_base_enum(base):
      basename = base.__name__
      if basename not in _registries:
          return None
      registry = _registries[basename]
      output = {}
      for name, registered_instance in registry.items():
          output.update({name: registered_instance[_ENUM_ID]})
      return output
  
file_path: model_search/model_search/registry.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import inspect
  import traceback
  from absl import logging
label_desc: Use image node_id 5 for calling a global function with example usage: get_base_enum(base) and returns: output, None