我正在嘗試使張量板中的張量摘要可視化。然而,我看不到董事會的張量摘要。這裏是我的代碼:如何可視化張量板中的張量摘要
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 –