[TFXLA] Simplify identification of cond branches.
authorJacques Pienaar <jpienaar@google.com>
Thu, 14 Dec 2017 01:09:29 +0000 (17:09 -0800)
committerTensorFlower Gardener <gardener@tensorflow.org>
Thu, 14 Dec 2017 01:17:14 +0000 (17:17 -0800)
commit69e5969d159fa8560eb61d82ec55b04d19bb0560
treec9f6fc26049d3f070149a0f395ed57ae54a74bf2
parentf22809c16ef54be6c515c9889c88ade746146e2e
[TFXLA] Simplify identification of cond branches.

* Remove the clustered graph part as it was difficult to keep it updated with the rest of the graph and instead operate on the graph directly;

PiperOrigin-RevId: 178980836
tensorflow/compiler/tf2xla/functionalize_control_flow.cc
tensorflow/compiler/tf2xla/functionalize_control_flow_test.cc