Pytorch 之contiguous的用法contiguous tensor变量调用contiguous()函数会使tensor变量在内存中的存储变得连续。 contiguous():view只能用在contiguous的variable上。
確定! 回上一頁