def METHOD_NAME(self):
    x = np.random.randn(3, 4)
    t = tf.constant(x)
    self.assertTrue(np.allclose(transpose(x), transpose(t).numpy()))
    x = np.random.randn(3, 4, 5)
    t = tf.constant(x)
    self.assertTrue(np.allclose(transpose(x, axes=(1, 2, 0)), transpose(t, axes=(1, 2, 0)).numpy()))