Module: tf_agents.eval.metric_utils
Stay organized with collections
Save and categorize content based on your preferences.
Utils for Metrics.
Classes
class MetricsGroup
: Group a list of Metrics into a container.
Functions
compute(...)
: Compute metrics using policy
on the environment
.
compute_summaries(...)
: Compute metrics using policy
on the environment
and logs summaries.
eager_compute(...)
: Compute metrics using policy
on the environment
.
log_metrics(...)
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.eval.metric_utils\n\n\u003cbr /\u003e\n\n|-----------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/tensorflow/agents/blob/v0.19.0/tf_agents/eval/metric_utils.py) |\n\nUtils for Metrics.\n\nClasses\n-------\n\n[`class MetricsGroup`](../../tf_agents/eval/metric_utils/MetricsGroup): Group a list of Metrics into a container.\n\nFunctions\n---------\n\n[`compute(...)`](../../tf_agents/eval/metric_utils/compute): Compute metrics using `policy` on the `environment`.\n\n[`compute_summaries(...)`](../../tf_agents/eval/metric_utils/compute_summaries): Compute metrics using `policy` on the `environment` and logs summaries.\n\n[`eager_compute(...)`](../../tf_agents/eval/metric_utils/eager_compute): Compute metrics using `policy` on the `environment`.\n\n[`log_metrics(...)`](../../tf_agents/eval/metric_utils/log_metrics)\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"]]