tf_agents.utils.common.maybe_copy_target_network_with_checks

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