tf.contrib.layers.summarize_tensor()

tf.contrib.layers.summarize_tensor(tensor, tag=None)

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.

Args:
  • tensor: The tensor to summarize
  • tag: The tag to use, if None then use tensor's op's name.
Returns:

The summary op created or None for string tensors.

doc_TensorFlow
2016-10-14 13:05:24
Comments
Leave a Comment

Please login to continue.