PyTorch 提供了 is_contiguous 、 contiguous (形容词动用)两个方法,分别用 ... 如果我们在transpose、permute 操作后执行view,Pytorch 会抛出错误.
確定! 回上一頁