tf.summary.write

View source on GitHub

Writes a generic summary to the default SummaryWriter if one exists.

tf.summary.write(
    tag, tensor, step=None, metadata=None, name=None
)

This exists primarily to support the definition of type-specific summary ops like scalar() and image(), and is not intended for direct use unless defining a new type-specific summary op.

Args:

Returns:

True on success, or false if no summary was written because no default summary writer was available.

Raises: