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

Method __init__

tensorflow/python/training/saver_test.py:2867–2871  ·  view source on GitHub ↗
(self, primary_variable, mirrored_variable, name)

Source from the content-addressed store, hash-verified

2865 saver_module.BaseSaverBuilder.ResourceVariableSaveable):
2866
2867 def __init__(self, primary_variable, mirrored_variable, name):
2868 self._primary_variable = primary_variable
2869 self._mirrored_variable = mirrored_variable
2870 super(_MirroringSaveable, self).__init__(
2871 self._primary_variable, "", name)
2872
2873 def restore(self, restored_tensors, restored_shapes):
2874 """Restore the same value into both variables."""

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected