Commit f0e3edf8 authored by Jacques Pienaar's avatar Jacques Pienaar Committed by TensorFlower Gardener
Browse files

[TF2XLA] Keep Switch and Merge nodes in own clusters.

* Keep Switch and Merge nodes in separate clusters to avoid creating irreducible graphs;
* Merge Switch nodes with common predicates;
* Add support for if-then structure;
* Squash trivial Switch->Merge groups;
* Merge newly Merge free nodes with Switch & Merge free inputs;
* Check to see if it is a Merge node before merging to common merge node;
* Return an error if all Switches have not been replaced;
* Add test fir tf,case;

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