사용법 자체는 numpy의 numpy.sum()과 다르지 않다. a= torch.arange(4*4).view(4,4) print(a). a가 밑처럼 생긴 4x4의 matrix라고 할 때, tensor([[ ...
確定! 回上一頁