The size() method returns the size of the self tensor. ... torch.Size([3, 4, 5]). We cast this into a list using the list() method. Example:.
確定! 回上一頁