摘要: 一、 导入 1 import torch 2 from torch import nn 3 from d2l import torch as d2l 4 5 batch_size = 256 6 train_iter, test_iter = d2l.load_data_fashion_mnist( 阅读全文
posted @ 2021-07-30 21:20 DXYE 阅读(382) 评论(0) 推荐(0) 编辑
摘要: 一、从零开始实现 1.1 首先引入Fashion-MNIST数据集 1 import torch 2 from IPython import display 3 from d2l import torch as d2l 4 5 batch_size = 256 6 train_iter, test_ 阅读全文
posted @ 2021-07-30 21:05 DXYE 阅读(1063) 评论(0) 推荐(0) 编辑