摘要: import torch from d2l import torch as d2l batch_size = 50 train_iter , test_iter = d2l.load_data_fashion_mnist(batch_size ) help(d2l.load_data_fashion 阅读全文
posted @ 2024-06-23 13:47 Mr小明同学 阅读(3) 评论(0) 推荐(0) 编辑
摘要: import torchtext from torchvision import transforms from torch.utils import data from d2l import torch as d2l import torchvision trans = transforms.To 阅读全文
posted @ 2024-06-23 10:49 Mr小明同学 阅读(2) 评论(0) 推荐(0) 编辑