Commit 76f074ef authored by Derek Murray's avatar Derek Murray Committed by TensorFlower Gardener
Browse files

Add test case for constant folding/model pruning on the input to a `tf.cond()`.

This adds coverage for the previously broken case where using a `tf.constant()`
as the predicate for a conditional would be optimized incorrectly.

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