Make maximum_iterations checks use public APIs.
authorSkye Wanderman-Milne <skyewm@google.com>
Sat, 16 Dec 2017 00:56:16 +0000 (16:56 -0800)
committerTensorFlower Gardener <gardener@tensorflow.org>
Sat, 16 Dec 2017 00:59:54 +0000 (16:59 -0800)
commit40a53f912e1dd6840cd0cb651980bbce7f30e3f1
treeb140836972b8198cf22021fe4ab1dbc62810a38c
parent4bdea2e4023f28ec50035af07c27b14a11c405bc
Make maximum_iterations checks use public APIs.

This introduces some new (non-public) control_flow_util methods:
InWhileLoop, InCond, and GetContainingCondContext.

PiperOrigin-RevId: 179257208
tensorflow/python/BUILD
tensorflow/python/ops/control_flow_ops.py
tensorflow/python/ops/control_flow_util.py
tensorflow/python/ops/rnn.py