如何使用 tf.summary.tensor_summary? [英] How is tf.summary.tensor_summary meant to be used?
问题描述
TensorFlow 提供了一个 tf.summary.tensor_summary()
函数似乎是 tf.summary.scalar()
:
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)
但是,TensorBoard 似乎根本没有提供显示这些摘要的方法.它们打算如何使用?
However it appears that TensorBoard doesn't provide a way to display these summaries at all. How are they meant to be used?
推荐答案
我也无法让它工作.该功能似乎仍在开发中.观看来自 TensorFlow Dev Summit 的这段视频,该视频指出 tensor_summary 仍在开发中(从 9:17 开始):https://youtu.be/eBbEDRsCmv4?t=9m17s.它可能会得到更好的定义,并且应该在未来提供示例.
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.
这篇关于如何使用 tf.summary.tensor_summary?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!