会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
CharlesLC
Stay foolish, stay hungry.
博客园
首页
新随笔
联系
订阅
管理
2022年7月24日
torch中乘法整理,*&torch.mul()&torch.mv()&torch.mm()&torch.dot()&@&torch.mutmal()
摘要: *位置乘 符号*在pytorch中是按位置相乘,存在广播机制。 例子: vec1 = torch.arange(4) vec2 = torch.tensor([4,3,2,1]) mat1 = torch.arange(12).reshape(4,3) mat2 = torch.arange(12)
阅读全文
posted @ 2022-07-24 20:53 CharlesLC
阅读(798)
评论(0)
推荐(0)
公告