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

Method read_value

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

Source from the content-addressed store, hash-verified

872 return gen_resource_variable_ops.read_variable_op(self.handle, self.dtype)
873
874 def read_value(self):
875 if _enclosing_tpu_context() is None:
876 return super(TPUVariableMixin, self).read_value()
877 else:
878 return self._read_variable_op()
879
880 @property
881 def constraint(self):

Calls 2

_read_variable_opMethod · 0.95
_enclosing_tpu_contextFunction · 0.70