import tensorflow as tf

my_tensor = tf.zeros([1,20])

sess.run(my_tensor)

my_var = tf.Variable(tf.zeros([1,20]))

sess.run(my_var.initializer)
sess.run(my_var)

row_dim = 2
col_dim = 3

zero_var = tf.Variable(tf.zeros([row_dim, col_dim]))
ones_var = tf.Variable(tf.ones([row_dim, col_dim]))

sess.run(zero_var.initializer)
sess.run(ones_var.initializer)
print(sess.run(zero_var))
print(sess.run(ones_var))

zero_similar = tf.Variable(tf.zeros_like(zero_var))
ones_similar = tf.Variable(tf.ones_like(ones_var))
sess.run(ones_similar.initializer)
sess.run(zero_similar.initializer)
print(sess.run(ones_similar))
print(sess.run(zero_similar))
