会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
JetpropelledSnake21
"Trust the computer, he is your Friend."
博客园
首页
新随笔
联系
订阅
管理
2020年3月13日
机器学习笔记之list, numpy.array, torch.Tensor 格式相互转化
摘要: 0x00 list 转 numpy ndarray = np.array(list) 0x01 numpy 转 list list = ndarray.tolist() 0x02 list 转 torch.Tensor tensor=torch.Tensor(list) 0x03 torch.Ten
阅读全文
posted @ 2020-03-13 21:41 时光飞逝,逝者如斯
阅读(405)
评论(0)
推荐(1)
编辑
公告