Constant Value Tensors zeros numpyのzerosみたいなもの TensorのデータタイプとShapeを指定する import tensorflow as tf x = tf.zeros([1], dtype=tf.float32) with tf.Session() as sess: print(x.eval()) [ 0.] import tensorflow as tf x = tf.zeros([10], dtype=tf.float32) with tf.Session() as sess: print(x.eval()) [ 0. 0. 0. 0. 0. 0. 0. 0. 0. 0.]