会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
north_startx
博客园
首页
新随笔
联系
订阅
管理
2021年1月31日
pytorch 常用命令
摘要: 创建tensor 1.torch.eye(n,m) 创建一个对角线为1,其他为0的2维tensor eg: x = torch.eys(3) 2.torch.linspace(start,end,steps) 创建一个1维tensor,start为3,end为10,共5个数 eg: x = torc
阅读全文
posted @ 2021-01-31 19:03 north_startx
阅读(195)
评论(0)
推荐(0)
编辑
公告