Module: tf_agents.utils.object_identity

Utilities for collecting objects based on "is" comparison.

Classes

class ObjectIdentityDictionary: A mutable mapping data structure which compares using "is".

class ObjectIdentitySet: Like the built-in set, but compares objects with "is".

class ObjectIdentityWeakKeyDictionary: Like weakref.WeakKeyDictionary, but compares objects with "is".

class ObjectIdentityWeakSet: Like weakref.WeakSet, but compares objects with "is".

class Reference: Reference that refers an object.

absolute_import Instance of __future__._Feature
division Instance of __future__._Feature
print_function Instance of __future__._Feature