tf.contrib.layers.summarize_tensor( tensor, tag=None )
Defined in tensorflow/contrib/layers/python/layers/summaries.py
.
See the guide: Layers (contrib) > Summaries
Summarize a tensor using a suitable summary type.
This function adds a summary op for tensor
. The type of summary depends on the shape of tensor
. For scalars, a scalar_summary
is created, for all other tensors, histogram_summary
is used.
tensor
: The tensor to summarizetag
: The tag to use, if None then use tensor's op's name.The summary op created or None for string tensors.
© 2018 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/api_docs/python/tf/contrib/layers/summarize_tensor