MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / deref

Method deref

tensorflow/python/util/object_identity.py:91–100  ·  view source on GitHub ↗

Returns the referenced object. ```python x_ref = Reference(x) print(x is x_ref.deref()) ==> True ```

(self)

Source from the content-addressed store, hash-verified

89 unwrapped = property()
90
91 def deref(self):
92 """Returns the referenced object.
93
94 ```python
95 x_ref = Reference(x)
96 print(x is x_ref.deref())
97 ==> True
98 ```
99 """
100 return self._wrapped
101
102
103class ObjectIdentityDictionary(collections_abc.MutableMapping):

Callers 6

_graph_mode_decoratorFunction · 0.80
_eager_mode_decoratorFunction · 0.80
testRefDerefMethod · 0.80
testTensorRefStrongMethod · 0.80
testVariableRefStrongMethod · 0.80

Calls

no outgoing calls

Tested by 4

testRefDerefMethod · 0.64
testTensorRefStrongMethod · 0.64
testVariableRefStrongMethod · 0.64