Tensorflow Variables and Ops vs. Python Equivalents
<p>I'm new to Tensorflow.</p>

<ul>
<li>Is it necessary to use tensorflow's function, such as using <code>tf.constant()</code> to replace <code>int32</code>, <code>float32</code> or else?</li>
<li>Also during computation, using <code>tf.mul()</code> instead of normal Python multiplication <code>*</code>?</li>
<li>Also the print function <code>tf.Print()</code> instead of <code>print()</code>?</li>
</ul>

<p>Because tensorflow is built upon a computation graph. When you construct the graph in python, you are just building is a description of computations (not actually doing the computation). To compute anything, a graph must be launched in a Session. So it's best to do the computation with the tensorflow ops.</p>

<p><a href="https://www.tensorflow.org/versions/r0.11/get_started/basic_usage.html" rel="nofollow">https://www.tensorflow.org/versions/r0.11/get_started/basic_usage.html</a></p>

python tensorflow