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

Method initializer

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

Source from the content-addressed store, hash-verified

644
645 @property
646 def initializer(self):
647 if self._initializer_op:
648 init_op = self._initializer_op
649 else:
650 # return grouped ops of all the var initializations of component values of
651 # the mirrored variable
652 init_op = control_flow_ops.group(tuple(
653 v.initializer for v in self._values))
654 return init_op
655
656 def _get_closest(self):
657 """Return member in the same replica if possible, else the primary."""

Callers

nothing calls this directly

Calls 2

tupleFunction · 0.85
groupMethod · 0.45

Tested by

no test coverage detected