A more complete description is given here .
Only after running tf.global_variables_initializer()in the session of your variables will hold the values that you told them to keep them when you declare them ( tf.Variable(tf.zeros(...)), tf.Variable(tf.random_normal(...)), ...).
From the TF document:
tf.Variable() :
- op, .
- op, . tf.assign op.
- , op .
:
. - op, op .