注意不要被contiguous的字面意思“连续的”误解,tensor中数据还是在内存中一块区域里,只是布局的问题! 当调用 contiguous() 时,会强制拷贝一份tensor, ...
確定! 回上一頁