5,337
edits
Line 146: | Line 146: | ||
==Usage (TF1)== | ==Usage (TF1)== | ||
In TF1, you first build a computational graph by chaining commands with | In TF1, you first build a computational graph by chaining commands with placeholders and constant variables. | ||
Then, you execute the graph in a tf | 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"> |