我正在尝试使张量板中的张量摘要可视化。然而,我看不到董事会的张量摘要。这里是我的代码:如何可视化张量板中的张量摘要
out = tf.strided_slice(logits, begin=[self.args.uttWindowSize-1, 0], end=[-self.args.uttWindowSize+1, self.args.numClasses],
strides=[1, 1], name='softmax_truncated')
tf.summary.tensor_summary('softmax_input', out)
其中out是一个多维张量。我想我的代码一定有问题。可能我错误地使用了tensor_summary
函数。
这很可能与此相关https://stackoverflow.com/questions/42329059/how-is-tf-summary-tensor-summary-meant-to-be-used –