How to convert a list of tensors of dim N to a tensor of dim N+1
<p>I need to convert a list of tensors of dimensionality N to a new tensor with dimensionality N+1 so that the new dimension would be the right most dimension.</p>

<p>For example if x and y would be tensors of shape (4,3) both then I am trying to create a new tensor z of shape (4,3,2) by forming z and setting tensor x as the 0th element along the third dimension and setting tensor y as the 1st element along the third dimension. In pseudocode:</p>

<pre><code>z = tf.fromList([x,y],3)
</code></pre>

<p>What's the best way to do that in Tensorflow. I was unable to figure it out from the documentation of TF 0.7.1.</p>