tf_agents.utils.common.extract_shared_variables

View source on GitHub

Separates shared variables from the given collections.

variables_1 An iterable of Variables
variables_2 An iterable of Variables

A Tuple of ObjectIdentitySets described by the set operations

(variables_1 - variables_2,
variables_2 - variables_1,
variables_1 & variables_2)