tf_agents.utils.common.check_no_shared_variables
Stay organized with collections
Save and categorize content based on your preferences.
Checks that there are no shared trainable variables in the two networks.
tf_agents.utils.common.check_no_shared_variables(
network_1, network_2
)
Args |
network_1
|
A network.Network.
|
network_2
|
A network.Network.
|
Raises |
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).
|
[null,null,["Last updated 2024-04-26 UTC."],[],[]]