x = tf.placeholder(tf.float32, shape=[1, 1]) m = tf.matmul(x, x) with tf.Session() as sess: print(sess.run(m, feed_dict={x: [[2.]]}))
x = [[2.]] m = tf.matmul(x, x) print(m)
$ pip install --ignore-installed --upgrade tensorflow