方法1:最通用的方法
from torch.utils.data import Dataset
help(Dataset)
使用help查看任意一包/函数的说明,可以在pycharm、命令行中使用,也可以在jupyter notebook中使用
方法2:jupyter notebook专用方法
包名/函数名??
eg:
from torch.utils.data import Dataset
方法1:最通用的方法
from torch.utils.data import Dataset
help(Dataset)
使用help查看任意一包/函数的说明,可以在pycharm、命令行中使用,也可以在jupyter notebook中使用
方法2:jupyter notebook专用方法
包名/函数名??
eg:
from torch.utils.data import Dataset