Registration is open for TensorFlow Dev Summit 2020 Learn more

tf.control_flow_v2_enabled

View source on GitHub

Returns True if v2 control flow is enabled.

Aliases:

tf.control_flow_v2_enabled()