1. 首页
  2. 数据库
  3. 其它
  4. 打卡

打卡

上传者: 2021-01-17 03:58:22上传 PDF文件 30.13KB 热度 24次
LENet #net class Flatten(torch.nn.Module): #展平操作 def forward(self, x): return x.view(x.shape[0], -1) class Reshape(torch.nn.Module): #将图像大小重定型 def forward(self, x): return x.view(-1,1,28,28) #(B x C x H x W) net = torch.nn.Sequential( #Lelet Reshape(), nn.Co
下载地址
用户评论