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

Method build

tensorflow/python/training/saver.py:1049–1052  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1047 self._object_restore_saver = None
1048
1049 def build(self):
1050 if context.executing_eagerly():
1051 raise RuntimeError("Use save/restore instead of build in eager mode.")
1052 self._build(self._filename, build_save=True, build_restore=True)
1053
1054 def _build_eager(self, checkpoint_path, build_save, build_restore):
1055 self._build(

Callers 3

__init__Method · 0.95
testDeferredBuildMethod · 0.95

Calls 2

_buildMethod · 0.95
executing_eagerlyMethod · 0.80

Tested by 2

testDeferredBuildMethod · 0.76