Wednesday, April 11, 2018

How is tf.summary.tensor_summary meant to be used?

Leave a Comment

TensorFlow provides a tf.summary.tensor_summary() function that appears to be a multidimensional variant of tf.summary.scalar():

tf.summary.tensor_summary(name, tensor, summary_description=None, collections=None) 

I thought it could be useful for summarizing inferred probabilities per class ... somewhat like

op_summary = tf.summary.tensor_summary('classes', some_tensor) # ... summary = sess.run(op_summary) writer.add_summary(summary) 

However it appears that TensorBoard doesn't provide a way to display these summaries at all. How are they meant to be used?

1 Answers

Answers 1

I cannot get it to work either. It seems like that feature is still under development. See this video from the TensorFlow Dev Summit that states that the tensor_summary is still under development (starting at 9:17): https://youtu.be/eBbEDRsCmv4?t=9m17s. It will probably be better defined and examples should be provided in the future.

If You Enjoyed This, Take 5 Seconds To Share It

0 comments:

Post a Comment