摘要: 2.1数据操作 首先安装实验所需的d2l库 !pip install git+https://github.com/d2l-ai/d2l-zh@release 2.1.1关于张量的数据操作 首先导入torch torch.arrange(n)作用是生成一个0到n-1的行向量 通过张量的shape属性 阅读全文
posted @ 2021-09-05 19:38 梁森 阅读(284) 评论(1) 推荐(0)