Commit cc83184c authored by Eugene Brevdo's avatar Eugene Brevdo Committed by TensorFlower Gardener
Browse files

Remove legacy sampling ops (stateful) from auto control deps.

This fixes @tf.function's inability to lift basic Variable initialization
when there are other stateful ops above the location the variable is
used in the function (e.g. tf.Assert).

Also add better error information about which dependencies are preventing
auto lifting.

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