Try out Google’s large language models using the PaLM API and MakerSuiteExplore Generative AI

tf.compat.v1.control_flow_v2_enabled

Returns True if v2 control flow is enabled.