Missed TensorFlow World? Check out the recap. Learn more

tf.summary.trace_export

View source on GitHub

Stops and exports the active trace as a Summary and/or profile file.

Aliases:

tf.summary.trace_export(
    name,
    step=None,
    profiler_outdir=None
)

Stops the trace and exports all metadata collected during the trace to the default SummaryWriter, if one has been set.

Args:

  • name: A name for the summary to be written.
  • step: Explicit int64-castable monotonic step value for this summary. If omitted, this defaults to tf.summary.experimental.get_step(), which must not be None.
  • profiler_outdir: Output directory for profiler. It is required when profiler is enabled when trace was started. Otherwise, it is ignored.

Raises: