How do I swap tensor's axes in TensorFlow?
<p>I have a tensor of shape <code>(30, 116, 10)</code>, and I want to swap the first two dimensions, so that I have a tensor of shape <code>(116, 30, 10)</code></p>

<p>I saw that numpy as such a function implemented (<code>np.swapaxes</code>) and I searched for something similar in tensorflow but I found nothing.</p>

<p>Do you have any idea?</p>