title: Is everything a Tensor in TensorFlow, including operations?
body: <p>I've been reading the documentation <a href="https://www.tensorflow.org/versions/r0.9/api_docs/python/framework.html#core-graph-data-structures" rel="nofollow">on core graph structures</a> and it seems there is a disagreement with what TensorFlow actually does and the docs (unless I have a misunderstanding, which I assume I do). </p>
  
  <p>The documentation says there are <a href="https://www.tensorflow.org/versions/r0.9/api_docs/python/framework.html#Operation" rel="nofollow">Operation objects</a> and <a href="https://www.tensorflow.org/versions/r0.9/api_docs/python/framework.html#Tensor" rel="nofollow">Tensor objects</a>. It gives examples of such and thus I tried creating some and asking python what types they are. First lets do a constant:</p>
  
  <pre><code>c = tf.constant(1.0)
  
  print c #Tensor("Const_1:0", shape=(), dtype=float32)
  print type(c) #&lt;class 'tensorflow.python.framework.ops.Tensor'&gt;
  </code></pre>
  
  <p>it says its a Tensor. Great! Makes sense and it even gives me information about its contents.</p>
  
  <p>I did the same experiment with what I expected to be an operation:</p>
  
  <pre><code>W = tf.Variable(tf.truncated_normal([784, 10], mean=0.0, stddev=0.1))
  b = tf.Variable(tf.constant(0.1, shape=[10]))
  Wx = tf.matmul(x, W)
  print Wx #Tensor("MatMul:0", shape=(?, 10), dtype=float32)
  print type(Wx) #&lt;class 'tensorflow.python.framework.ops.Tensor'&gt;
  </code></pre>
  
  <p>However, as you can see, Tensor flow said that both Wx and c are the same type. Does this mean that there are no operation objects or am I doing something wrong?</p>