class_docstr: Generic hierarchical cache for transformed functions.
  
  The keys are soft references (i.e. they are discarded when the key is
  destroyed) created from the source function by `_get_key`. The subkeys are
  strong references and can be any value. Typically they identify different
  kinds of transformation.
class_docstr_tok: ["Generic","hierarchical","cache","for","transformed","functions",".","The","keys","are","soft","references","(","i.e",".","they","are","discarded","when","the","key","is","destroyed",")","created","from","the","source","function","by","`","_get_key","`",".","The","subkeys","are","strong","references","and","can","be","any","value",".","Typically","they","identify","different","kinds","of","transformation","."]
code: def __len__(self):
      return len(self._cache)
  
file_path: tensorflow-upstream/tensorflow/python/autograph/pyct/cache.py
imports: import inspect
  import weakref
label_desc: Use image node_id 5 for calling the _TransformedFnCache obj's underlying member method code with example usage: obj.__len__() and returns: len