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

Method _get_as_operand

tensorflow/python/distribute/values.py:839–840  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

837 "`TPUVariableMixin.get()` is not supported within a TPU context.")
838
839 def _get_as_operand(self):
840 return self.read_value()
841
842 def _get_closest(self):
843 if _enclosing_tpu_context() is None:

Callers

nothing calls this directly

Calls 1

read_valueMethod · 0.95

Tested by

no test coverage detected