TensorFlow

API

 tf.compat / v1 / v1.summary.FileWriter


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.

node_def the node_def_pb2.NodeDef of a TensorSummary op

a summary_pb2.SummaryDescription

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.


此页内容是否对您有帮助