The target

This article is intended to introduce the introduction of TensorFlow and practical examples. We hope that you will become familiar with the operation of TensorFlow after learning it

Simple constant operation code

Import tensorflow as tf v1 = tf.constant([[5,6]]) v2 = tf.constant([[2],[4]]) p1 = tf.matmul(v1, v2) p2 = tf.matmul(v2, Print (sess.run(p1)) print(sess.run(p2)) print(sess.run(p2))Copy the code

The output

[[34]] [10 12] [20 24]]Copy the code

In this paper, the reference

Reference for this article: blog.csdn.net/qq_19672707…