Enable de/serialization of nested control flow.
authorSkye Wanderman-Milne <skyewm@google.com>
Mon, 26 Feb 2018 22:38:31 +0000 (14:38 -0800)
committerGunhan Gulsoy <gunan@google.com>
Tue, 27 Feb 2018 22:33:33 +0000 (14:33 -0800)
commit3653257c729f651c787b6fa04788084191478c3e
tree3b27e12c60a5ae74216510f9178949e39a9a8983
parentc1e22e9fc1b8db5390c466a2ffb5da8b1abf15b4
Enable de/serialization of nested control flow.

This is a follow-up to the previous commit
(https://github.com/tensorflow/tensorflow/commit/23851760b7b099214bdd4f1b88156d7ac2bdd2a2).
It adds the new proto schemas, enables the behavior for reading and
writing the new protos, and adds a test for de/serializing nested
while loops.

There's still a bug preventing deserializing conds, which will be addressed
in another change.

PiperOrigin-RevId: 187082713
tensorflow/core/protobuf/control_flow.proto
tensorflow/python/ops/control_flow_ops.py
tensorflow/python/training/saver_test.py