W3cubDocs

/TensorFlow Python

tf.contrib.summary.import_event

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

Defined in tensorflow/contrib/summary/summary_ops.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.

© 2018 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/python/tf/contrib/summary/import_event