Utilities

tf.summary.get_summary_description(node_def)

Given a TensorSummary node_def, retrieve its SummaryDescription.

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.