class_docstr: Registry with predicate-based lookup.
  
  See the documentation for `register_checkpoint_saver` and
  `register_serializable` for reasons why predicates are required over a
  class-based registry.
  
  Since this class is used for global registries, each object must be registered
  to unique names (an error is raised if there are naming conflicts). The lookup
  searches the predicates in reverse order, so that later-registered predicates
  are executed first.
class_docstr_tok: ["Registry","with","predicate-based","lookup",".","See","the","documentation","for","`","register_checkpoint_saver","`","and","`","register_serializable","`","for","reasons","why","predicates","are","required","over","a","class-based","registry",".","Since","this","class","is","used","for","global","registries",",","each","object","must","be","registered","to","unique","names","(","an","error","is","raised","if","there","are","naming","conflicts",")",".","The","lookup","searches","the","predicates","in","reverse","order",",","so","that","later-registered","predicates","are","executed","first","."]
code: def get_registrations(self):
      return self._registered_predicates
  
imports: import collections
  import re
  from tensorflow.python.util import tf_inspect
label_desc: Use image node_id 8 for calling the _PredicateRegistry obj's underlying member method code with example usage: obj.get_registrations() and returns: self