Commit c76b061b authored by Yu-Cheng Ling's avatar Yu-Cheng Ling Committed by TensorFlower Gardener
Browse files

Initial implementation of IF control flow op

* Properly support dynamic tensor use cases.
  The output of IF is dynamic if:
  (1) Any subgraph is dynamic
  (2) 2 subgraphs are both static, but has different output shapes
* Not optimized yet. Currently copying input/output tensors
  between subgraphs.

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