Module: tf_agents.metrics.py_metric
Stay organized with collections
Save and categorize content based on your preferences.
Base class for Python metrics.
Classes
class PyMetric
: Defines the interface for metrics.
class PyStepMetric
: Defines the interface for metrics that operate on trajectories.
Functions
run_summaries(...)
: Execute summary ops for py_metrics.
Type Aliases
MetricType
Other Members |
PyMetricType
|
Instance of typing.ForwardRef
|
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.metrics.py_metric\n\n\u003cbr /\u003e\n\n|-----------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/tensorflow/agents/blob/v0.19.0/tf_agents/metrics/py_metric.py) |\n\nBase class for Python metrics.\n\nClasses\n-------\n\n[`class PyMetric`](../../tf_agents/metrics/py_metric/PyMetric): Defines the interface for metrics.\n\n[`class PyStepMetric`](../../tf_agents/metrics/py_metric/PyStepMetric): Defines the interface for metrics that operate on trajectories.\n\nFunctions\n---------\n\n[`run_summaries(...)`](../../tf_agents/metrics/py_metric/run_summaries): Execute summary ops for py_metrics.\n\nType Aliases\n------------\n\n[`MetricType`](../../tf_agents/metrics/py_metric/MetricType)\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Other Members ------------- ||\n|-----------------|-----------------------------------|\n| PyMetricType | Instance of `typing.ForwardRef` |\n| absolute_import | Instance of `__future__._Feature` |\n| division | Instance of `__future__._Feature` |\n| print_function | Instance of `__future__._Feature` |\n\n\u003cbr /\u003e"]]