tf_agents.utils.common.maybe_copy_target_network_with_checks

View source on GitHub

Copies the network into target if None and checks for shared variables.