## 第三章
torch.FloatTensor(ndarray in float32) --- share memory torch.FloatTensor(ndarray in float64) --- allocate new memory
saved_variables 在v0.3 版本中被删除
- torchvision Scale -> Resize
- torchvision RandomSizedCrop -> RandomResizedCrop
- dataset collate_fn 一节
dataloader = DataLoader(dataset, 2, collate_fn=my_collate_fn, num_workers=1,shuffle=True)
module.cuda(device = 1) # device_id 也变了