I have a tensor of unknown shape, but it is at least 3 dimensional, i.e. shape=[a, b, c, ...].
I would like to switch dimensions a and b, without knowing how long the tensor is (so I can't use tf.transpose, as suggested in this question)
I have a tensor of unknown shape, but it is at least 3 dimensional, i.e. shape=[a, b, c, ...].
I would like to switch dimensions a and b, without knowing how long the tensor is (so I can't use tf.transpose, as suggested in this question)