摘要: ref:https://blog.csdn.net/g11d111/article/details/90417308 看别人的pytorch代码中,经常有些地方会有使用.contiguous(),而有些地方去掉会报错,所以就这个问题搜索了下。 该操作保证tensor内存行优先进行连续排列。某些Ten 阅读全文
posted @ 2020-10-21 11:07 wioponsen 阅读(559) 评论(0) 推荐(0) 编辑