(self)
| 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.""" |