import tensorflow as tf

matrix1 = tf.constant([1, 2, 3, 4, 5, 6], shape=[2, 3])
matrix2 = tf.constant([1, 1, 1, 1, 1, 1], shape=[2, 3])
result1 = tf.multiply(matrix1, matrix2)
result2 = tf.matmul(matrix1, matrix2)

sess = tf.Session()

print(sess.run(result1))
print(sess.run(result2))
