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","."]
code: def __eq__(self, other):
      if isinstance(other, WeakStructRef):
          return (
              self.alive == other.alive
              and hash(self) == hash(other)
              and self._subkey
              == other._subkey  # pylint: disable=protected-access
              and self._struct == other._struct
          )  # pylint: disable=protected-access
      return False
  
imports: import collections
  import weakref
  import numpy
  import tensorflow.compat.v2
  from tensorflow.python.util import nest
label_desc: Use image node_id 9 for calling the WeakStructRef obj's underlying member method code with example usage: obj.__eq__(other) and returns: False, unknown