tf_agents.metrics.py_metric.run_summaries
Stay organized with collections
Save and categorize content based on your preferences.
Execute summary ops for py_metrics.
tf_agents.metrics.py_metric.run_summaries(
metrics: Sequence[tf_agents.metrics.py_metric.PyMetricType
],
session: Optional[tf.compat.v1.Session] = None
)
Args |
metrics
|
A list of py_metric.Base objects.
|
session
|
A TensorFlow session-like object. If it is not provided, it will
use the current TensorFlow session context manager.
|
Raises |
RuntimeError
|
If .tf_summaries() was not previously called on any of the
metrics .
|
AttributeError
|
If session is not provided and there is no default session
provided by a context manager.
|
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-04-26 UTC."],[],[]]