class_docstr: Provides a registry for saving objects.
docstr: Looks up "name".
  
  Args:
    name: a string specifying the registry key for the candidate.
  Returns:
    Registered object if found
  Raises:
    LookupError: if "name" has not been registered.
code: def lookup(self, name):
      """Looks up "name".
  
      Args:
        name: a string specifying the registry key for the candidate.
      Returns:
        Registered object if found
      Raises:
        LookupError: if "name" has not been registered.
      """
      name = compat.as_str(name)
      if name in self._registry:
          return self._registry[name][_TYPE_TAG]
      else:
          raise LookupError(
              "%s registry has no entry for: %s" % (self._name, name)
          )
  
file_path: tensorflow-upstream/tensorflow/python/framework/registry.py
imports: import traceback
  from tensorflow.python.platform import tf_logging
  from tensorflow.python.util import compat
label_desc: Use image node_id 4 for calling the Registry obj's underlying member method code with example usage: obj.lookup(name) and returns: self