How to quote TensorFlow
Most people do not understand the knowledge of this article "how to quote TensorFlow", so the editor summarizes the following content, detailed content, clear steps, and has a certain reference value. I hope you can gain something after reading this article. Let's take a look at this "how to quote TensorFlow" article.
Importtensorflowastf
A=tf.add (3 and 5)
Print (a)
> > Tensor ("Add: 0", shape= (), dtype=int32)
This is because session needs to be enabled, and the operation can be performed in session. Make some simple improvements:
Import tensorflow as tf
A = tf.add (3,5)
Sess = tf.Session ()
Print (sess.run (a))
Sess.close ()
> > 8
The above is about the content of this article "how to quote TensorFlow". I believe we all have a certain understanding. I hope the content shared by the editor will be helpful to you. If you want to know more about the relevant knowledge, please pay attention to the industry information channel.