View source on GitHub

Writes a tf.compat.v1.Event binary proto.

This can be used to import existing event logs into a new summary writer sink. Please note that this is lower level than the other summary functions and will ignore the tf.summary.should_record_summaries setting.

tensor A tf.Tensor of type string containing a serialized tf.compat.v1.Event proto.
name A name for the operation (optional).

The created tf.Operation.