One of Tensorflow learning (operation)

Getting Started with TensorFlow Basics

Please refer to Xu Qihua's article https://www.cnblogs.com/denny402/p/5852083.html

He wrote in more detail, so I won't rewrite it.

About the difference between tensorflow operations and operations in python

In fact, the difference between tensorflow and python

tensorflow is a computational graph architecture. The core is to create a computational graph and run the computational graph.

And python is a language.

So about the operation, you can directly write the layer x = 1, y = 2, z = x + y

But not in tensorflow, you must create a computational graph first, and then run the computational graph.

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325135088&siteId=291194637