会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
最咸的鱼
博客园
首页
新随笔
联系
订阅
管理
2020年6月30日
Pytorch张量操作
摘要: 1.数据类型 如何表示string? One-hot [0,1,0,0,...] Embedding Word2vec,glove 类型推断 1 #type check 2 a=torch.randn(2,3) 3 print(a.type()) #torch.FloatTensor 4 print
阅读全文
posted @ 2020-06-30 21:14 最咸的鱼
阅读(2944)
评论(0)
推荐(1)