title: Understanding Tensorflow's shape, rank and size
body: <p>I am trying to see outputs of tf.rank(), tf.shape() and tf.size() but I am getting weird results even for a simple list:</p>
  
  <pre><code>   t = [[1, 2, 3], [4, 5, 6], [7, 8, 9], [2, 3, 4]]
  </code></pre>
  
  <p>Below is how the results look like:</p>
  
  <pre><code>   In [451]: tf.shape(t)
     Out[451]: &lt;tf.Tensor 'Shape_11:0' shape=(2,) dtype=int32&gt;
  
     In [452]: tf.size(t)
     Out[452]: &lt;tf.Tensor 'Size_5:0' shape=() dtype=int32&gt;
  
     In [453]: tf.rank(t)
     Out[453]: &lt;tf.Tensor 'Rank_4:0' shape=() dtype=int32&gt;
  </code></pre>
  
  <p>Can you please explain how to interpret these?</p>
  
  <p>Thanks</p>