Google I/O is a wrap! Catch up on TensorFlow sessions View sessions

tf.compat.v1.control_flow_v2_enabled

View source on GitHub

Returns True if v2 control flow is enabled.