Added a warning about AutoTrackable
This commit is contained in:
parent
9480262cbb
commit
cbf76901b8
@ -721,6 +721,9 @@ class Saver(object):
|
||||
# as keys:
|
||||
saver = tf.compat.v1.train.Saver({v.op.name: v for v in [v1, v2]})
|
||||
```
|
||||
|
||||
Note: the newer `AutoTrackable` API is not supported by `Saver`. In this
|
||||
case, the `tf.train.Checkpoint` class should be used.
|
||||
|
||||
The optional `reshape` argument, if `True`, allows restoring a variable from
|
||||
a save file where the variable had a different shape, but the same number
|
||||
|
Loading…
Reference in New Issue
Block a user