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.
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.
Other Members |
absolute_import
|
Instance of __future__._Feature
|
division
|
Instance of __future__._Feature
|
print_function
|
Instance of __future__._Feature
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-04-26 UTC.
[null,null,["Last updated 2024-04-26 UTC."],[],[],null,["# Module: tf_agents.utils.object_identity\n\n\u003cbr /\u003e\n\n|---------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/tensorflow/agents/blob/v0.19.0/tf_agents/utils/object_identity.py) |\n\nUtilities for collecting objects based on \"is\" comparison.\n\nClasses\n-------\n\n[`class ObjectIdentityDictionary`](../../tf_agents/utils/object_identity/ObjectIdentityDictionary): A mutable mapping data structure which compares using \"is\".\n\n[`class ObjectIdentitySet`](../../tf_agents/utils/object_identity/ObjectIdentitySet): Like the built-in set, but compares objects with \"is\".\n\n[`class ObjectIdentityWeakKeyDictionary`](../../tf_agents/utils/object_identity/ObjectIdentityWeakKeyDictionary): Like weakref.WeakKeyDictionary, but compares objects with \"is\".\n\n[`class ObjectIdentityWeakSet`](../../tf_agents/utils/object_identity/ObjectIdentityWeakSet): Like weakref.WeakSet, but compares objects with \"is\".\n\n[`class Reference`](../../tf_agents/utils/object_identity/Reference): Reference that refers an object.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Other Members ------------- ||\n|-----------------|-----------------------------------|\n| absolute_import | Instance of `__future__._Feature` |\n| division | Instance of `__future__._Feature` |\n| print_function | Instance of `__future__._Feature` |\n\n\u003cbr /\u003e"]]