tf.compat.v1.summary.get_summary_description  |  TensorFlow v2.16.1 (original) (raw)

tf.compat.v1.summary.get_summary_description

Given a TensorSummary node_def, retrieve its SummaryDescription.

tf.compat.v1.summary.get_summary_description(
    node_def
)

When a Summary op is instantiated, a SummaryDescription of associated metadata is stored in its NodeDef. This method retrieves the description.

Args
node_def the node_def_pb2.NodeDef of a TensorSummary op
Returns
a summary_pb2.SummaryDescription
Raises
ValueError if the node is not a summary op.

eager compatibility

Not compatible with eager execution. To write TensorBoard summaries under eager execution, use tf.contrib.summary instead.

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. Some content is licensed under the numpy license.

Last updated 2024-04-26 UTC.