I am learning to visualize tensor via tensorboard, however, I don't know how to interpret chart in Histogram tab. I used below code to visualize:
sess = tf.Session()
tf.summary.histogram('test', tf.constant([1, 1, 2, 2, 3, 4, 4, 4, 4]))
summary = tf.summary.merge_all()
train_writer = tf.summary.FileWriter('../tmp/train', sess.graph)
for i in range(10):
sum = sess.run(summary)
train_writer.add_summary(sum, i)
I got this chart from tensorboard:
I know the x-axis is the value, y-axis is time step, what I don't know is the value of z-axis. According to this issue,
It's a normalized density. I wouldn't describe it as a probability density, although I think calling it one would be justifiable.
Can anyone explain more (i.e. how the density is calculated)?