tf.contrib.summary.import_event

tf.contrib.summary.import_event(
    tensor,
    name=None
)

Defined in tensorflow/python/ops/summary_ops_v2.py.

Writes a tf.Event binary proto.

When using create_db_writer(), this can be used alongside tf.TFRecordReader to load event logs into the database. Please note that this is lower level than the other summary functions and will ignore any conditions set by methods like tf.contrib.summary.should_record_summaries.

Args:

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

Returns:

The created tf.Operation.