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

Method _as_graph_element

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

Source from the content-addressed store, hash-verified

546 return self._values[replica_id]
547
548 def _as_graph_element(self):
549 obj = self.get()
550 conv_fn = getattr(obj, "_as_graph_element", None)
551 if conv_fn and callable(conv_fn):
552 return conv_fn()
553 return obj
554
555
556def _assign_on_device(device, variable, tensor):

Callers 3

_as_graph_elementMethod · 0.45
_as_graph_elementMethod · 0.45
_as_graph_elementMethod · 0.45

Calls 1

getMethod · 0.45

Tested by

no test coverage detected