class_docstr: weakref.ref object for tensors, np.ndarray, and structures.
  
  Invokes the callback when any element of the struct's ref-count drops to 0.
class_docstr_tok: ["weakref.ref","object","for","tensors",",","np.ndarray",",","and","structures",".","Invokes","the","callback","when","any","element","of","the","struct","'s","ref-count","drops","to","0","."]
docstr: Returns the cached hash of this structure.
docstr_tok: ["Returns","the","cached","hash","of","this","structure","."]
code: def __hash__(self):
      """Returns the cached hash of this structure."""
      return self._hash
  
imports: import collections
  import weakref
  import numpy
  import tensorflow.compat.v2
  from tensorflow.python.util import nest
label_desc: Use image node_id 8 for calling the WeakStructRef obj's underlying member method code with example usage: obj.__hash__() and returns: self