tf_agents.utils.common.check_tf1_allowed

View source on GitHub

Raises an error if running in TF1 (non-eager) mode and this is disabled.