Checkpointable: Fix a bug where SaveableObjects in the Saver's var_list were stale...
authorAllen Lavoie <allenl@google.com>
Fri, 23 Mar 2018 00:29:47 +0000 (17:29 -0700)
committerTensorFlower Gardener <gardener@tensorflow.org>
Fri, 23 Mar 2018 00:32:37 +0000 (17:32 -0700)
commite6f5c2f21f990792e7e21729703e89065c4a5464
tree096c106efd2c6f632325761561aee32cbc187017
parent7a39f562caca8ec804c0eddaa7b28b64a93f06e7
Checkpointable: Fix a bug where SaveableObjects in the Saver's var_list were stale when executing eagerly

SaveableObjects were recreated each save(), but the Saver was not recreated and so had an old var_list.

PiperOrigin-RevId: 190153011
tensorflow/contrib/eager/python/checkpointable_utils.py
tensorflow/contrib/eager/python/checkpointable_utils_test.py