MCPcopy Create free account
hub / github.com/tensorflow/lingvo / Restore

Method Restore

lingvo/core/saver.py:531–565  ·  view source on GitHub ↗

Restore variables from a checkpoint. Args: sess: A session with tf.Graph under which this object is constructed. path: If not None, restore from this path prefix. checkpoint_id: If None, restore from the latest checkpoint. Otherwise, restore from the specific checkpoin

(self, sess, path=None, checkpoint_id=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 10

_LoadCheckpointMethod · 0.45
_LoadCheckpointMethod · 0.45
_LoopMethod · 0.45
_LoopMethod · 0.45
StartMethod · 0.45
StartMethod · 0.45
testBasicMethod · 0.45
testRecentOnlyPreemptMethod · 0.45
testIndefinitePreemptMethod · 0.45

Calls 4

SyncMethod · 0.95
_GetStateMethod · 0.95
GetCheckpointIdMethod · 0.95
runMethod · 0.80

Tested by 4

testBasicMethod · 0.36
testRecentOnlyPreemptMethod · 0.36
testIndefinitePreemptMethod · 0.36