tf.compat.v1.disable_control_flow_v2

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.