tf_agents.utils.common.check_no_shared_variables

Checks that there are no shared trainable variables in the two networks.

network_1 A network.Network.
network_2 A network.Network.

ValueError if there are any common trainable variables.
ValueError if one of the networks has not yet been built (e.g. user must call create_variables).