pytorch 中contiguous() contiguous:view只能用在contiguous的variable上。 ... 执行contiguous()这个函数,把tensor变成在内存中连续分布的形式。
確定! 回上一頁