Closed 0324wy closed 1 year ago
np.testing.assert_allclose(ndl.transpose(ndl.Tensor([[[2.45]], [[3.5 ]], [[0.9 ]]])).numpy(), np.array([[[2.45], [3.5 ], [0.9 ]]]))
Aims to transpose (3, 1, 1) => (1, 3, 1), but not give axes = (0, 1). The default axes are the last two axes(1, 2).
Aims to transpose (3, 1, 1) => (1, 3, 1), but not give axes = (0, 1). The default axes are the last two axes(1, 2).