TensorFlow: Difference between revisions

Line 146: Line 146:


==Usage (TF1)==
==Usage (TF1)==
In TF1, you first build a computational graph by chaining commands with placeholder.   
In TF1, you first build a computational graph by chaining commands with placeholders and constant variables.   
Then, you execute the graph in a tf session.
Then, you execute the graph in a <code>tf.Session()</code>.
{{hidden | TF1 MNIST Example |
{{hidden | TF1 MNIST Example |
<syntaxhighlight lang="python">
<syntaxhighlight lang="python">