Remove outdated documentation for .ref()
PiperOrigin-RevId: 294292266 Change-Id: I1f6716702dbf3493ae4a65405e916de70d54f043
This commit is contained in:
parent
488ac44f1f
commit
c19d168eaa
@ -823,8 +823,6 @@ class Tensor(_TensorLike):
|
||||
# documentation here, please update tf.Variable.ref() as well.
|
||||
"""Returns a hashable reference object to this Tensor.
|
||||
|
||||
Warning: Experimental API that could be changed or removed.
|
||||
|
||||
The primary use case for this API is to put tensors in a set/dictionary.
|
||||
We can't put tensors in a set/dictionary as `tensor.__hash__()` is no longer
|
||||
available starting Tensorflow 2.0.
|
||||
|
@ -1218,8 +1218,6 @@ class Variable(six.with_metaclass(VariableMetaclass, trackable.Trackable)):
|
||||
# documentation here, please update tf.Tensor.ref() as well.
|
||||
"""Returns a hashable reference object to this Variable.
|
||||
|
||||
Warning: Experimental API that could be changed or removed.
|
||||
|
||||
The primary use case for this API is to put variables in a set/dictionary.
|
||||
We can't put variables in a set/dictionary as `variable.__hash__()` is no
|
||||
longer available starting Tensorflow 2.0.
|
||||
|
Loading…
x
Reference in New Issue
Block a user