class_docstr: Container for managing attribute cache state within a Layer.
  
  The cache can be invalidated either on an individual basis (for instance when
  an attribute is mutated) or a layer-wide basis (such as when a new dependency
  is added).
class_docstr_tok: ["Container","for","managing","attribute","cache","state","within","a","Layer",".","The","cache","can","be","invalidated","either","on","an","individual","basis","(","for","instance","when","an","attribute","is","mutated",")","or","a","layer-wide","basis","(","such","as","when","a","new","dependency","is","added",")","."]
code: def __repr__(self):
      return "{}\n  {}".format(
          super(AttributeSentinel, self).__repr__(),
          {k: v.in_cached_state for k, v in self.attributes.items()},
      )
  
file_path: tensorflow/tensorflow/python/trackable/layer_utils.py
imports: import collections
  import weakref
  from tensorflow.python.util import object_identity
label_desc: Use image node_id 2 for calling the AttributeSentinel obj's underlying member method code with example usage: obj.__repr__() and returns: str