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

Method read_value

tensorflow/python/ops/variables.py:658–667  ·  view source on GitHub ↗

Returns the value of this variable, read in the current context. Can be different from value() if it's on another device, with control dependencies, etc. Returns: A `Tensor` containing the value of the variable.

(self)

Source from the content-addressed store, hash-verified

656 raise NotImplementedError
657
658 def read_value(self):
659 """Returns the value of this variable, read in the current context.
660
661 Can be different from value() if it's on another device, with control
662 dependencies, etc.
663
664 Returns:
665 A `Tensor` containing the value of the variable.
666 """
667 raise NotImplementedError
668
669 def set_shape(self, shape):
670 """Overrides the shape for this variable.

Calls

no outgoing calls