I set fixed a seed value and run the session using following line of codes.
with tf.Session() as sess:
matrix = tf.random_normal([2,2], mean=1, stddev=1, seed=1)
print(matrix.eval())
print(matrix.eval())
print(matrix.eval())
print(sess.run(matrix))
print(sess.run(matrix))
print(sess.run(matrix))
print(sess.run(matrix))
But the code gave me the output like this,
[[1.2818339 3.3878284]
[3.2804048 0.691338 ]]
[[0.84588486 1.3642604 ]
[1.6235023 0.96976113]]
[[2.3133767 2.4734092]
[1.6430309 0.7378005]]
[[ 1.8944461 0.39336425]
[ 0.1861412 -0.01721728]]
[[-0.6642921 2.3849297 ]
[-0.06870818 -0.1625154 ]]
[[ 1.0668459 0.45170426]
[ 2.4276698 -0.24925494]]
[[1.8668368 1.3444978 ]
[1.5144594 0.31290668]]
I expect to print exact values because i fixed the seed value. Why does it print out a different values? Thanks