tf.summary.experimental.write_raw_pb  |  TensorFlow v2.16.1 (original) (raw)

tf.summary.experimental.write_raw_pb

Writes a summary using raw tf.compat.v1.Summary protocol buffers.

tf.summary.experimental.write_raw_pb(
    tensor, step=None, name=None
)
Args
tensor the string Tensor holding one or more serialized Summary protobufs
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.
name Optional string name for this op.
Returns
True on success, or false if no summary was written because no default summary writer was available.
Raises
ValueError if a default writer exists, but no step was provided andtf.summary.experimental.get_step() is None.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates. Some content is licensed under the numpy license.

Last updated 2024-04-26 UTC.