a = np.array([1, 3, 4, 2]) >>> qml.math.sort(a) tensor([1, 2, 3, 4], requires_grad=True). But for torch , the argument indices are also returned:
確定! 回上一頁