Module: tf_agents.utils.object_identity

Stay organized with collections Save and categorize content based on your preferences.

Utilities for collecting objects based on "is" comparison.


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