会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
g
y
7
7
7
7
一届书生
本博客所有内容以学习、研究和分享为主,如需转载,请标明作者和出处,并且是非商业用途,谢谢。
新随笔
联系
管理
2020年10月7日
Pytorch-tensor的分割,属性统计
摘要: 1.矩阵的分割 方法:split(分割长度,所分割的维度),split([分割所占的百分比],所分割的维度) a=torch.rand(32,8) aa,bb=a.split(16,dim=0) print(aa.shape) print(bb.shape) cc,dd=a.split([20,12
阅读全文
posted @ 2020-10-07 21:48 gy77
阅读(1010)
评论(0)
推荐(0)
编辑
公告