View source on GitHub
|
Ensures output is a tf_environment, wrapping py_environments if needed.
tf_agents.environments.utils.get_tf_env(
environment: Union[tf_agents.environments.PyEnvironment, tf_agents.environments.TFEnvironment]
) -> tf_agents.environments.TFEnvironment
View source on GitHub