Writes a generic summary to the default SummaryWriter if one exists.
tf.compat.v2.summary.write( tag, tensor, step=None, metadata=None, name=None )
This exists primarily to support the definition of type-specific summary ops like scalar() and image(), and is not intended for direct use unless defining a new type-specific summary op.
| || string tag used to identify the summary (e.g. in TensorBoard), usually generated with |
| ||the Tensor holding the summary data to write|
| || Explicit |
| ||Optional SummaryMetadata, as a proto or serialized bytes|
| ||Optional string name for this op.|
|True on success, or false if no summary was written because no default summary writer was available.|
| || if a default writer exists, but no step was provided and |
© 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.