pytorch入门

芝婵

关注

阅读 108

2022-03-10

1.pytorch相当于工具箱,dir()打开,help()说明书

在这里插入图片描述
例:python Console里输入dir(torch)->dir(torch.cuda)->help(torch.cuda.is_available)
–*--:*是函数,不再是分割区,help时不要加()

2.数据读取

在这里插入图片描述

参考视频:https://www.bilibili.com/video/BV1hE411t7RN?p=4

精彩评论(0)

0 0 举报