We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e1a0a9c commit 7f58d32Copy full SHA for 7f58d32
model/__init__.py
@@ -121,4 +121,4 @@ def restore(self, path, optim=None):
121
if optim is not None:
122
kwargs['optim'] = optim
123
ckpt = tf.train.Checkpoint(**kwargs)
124
- ckpt.restore(path)
+ return ckpt.restore(path)
0 commit comments