tf.contrib.summary.SummaryWriter

Class SummaryWriter

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

Encapsulates a stateful summary writer resource.

See also: - tf.contrib.summary.create_file_writer - tf.contrib.summary.create_db_writer

__init__

__init__(
    resource,
    init_op_fn
)

Initialize self. See help(type(self)) for accurate signature.

Methods

as_default

as_default()

Enables summary writing within a with block.

close

close()

Operation to flush and close the summary writer resource.

flush

flush()

Operation to force the summary writer to flush any buffered data.

init

init()

Operation to initialize the summary writer resource.

set_as_default

set_as_default()

Enables this summary writer for the current thread.