Replacement for cudnnTransformTensor

I have to transpose a 3d tensor in dim (0,1) with its type being int. I found that cudnnTransformTensor can do that but it had been deprecated, is there any replacement?