Commit a2bf042d authored by Allen Lavoie's avatar Allen Lavoie Committed by TensorFlower Gardener
Browse files

Use functional_saver to write SaverDefs in tf.saved_model.save

Replaces the restore() code with tf.train.Saver's bulk restore logic, which was its default. I only noticed because apparently the other path fails on some saveables, and the restore code gets more thoroughly tested via to_proto.

PiperOrigin-RevId: 226077043
parent 44f117ce
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment