W3cubDocs

/TensorFlow 1.15

tf.compat.v2.summary.trace_export

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

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
ValueError if a default writer exists, but no step was provided and tf.summary.experimental.get_step() is None.

© 2020 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/versions/r1.15/api_docs/python/tf/compat/v2/summary/trace_export