tf.disable_control_flow_v2

View source on GitHub

Opts out of control flow v2.

If your code needs tf.disable_control_flow_v2() to be called to work properly please file a bug.