pytorch -nn基础数据加载nn.ModuleModule的子类: Sequential(ModuleList 和 ModuleDict与Sequential类似,主要参数形式不同)面向对象常见错误与注意pytorch的bugpython+pycharm小技巧
train_iter = torch.utils.data.DataLoader( mnist_train, batch_size=batch_size, shuffle=True, num_workers=0)nn.SequentialSequentialadj. 按次序的; 顺序的; 序列的;[例句]In this way the children are introduced to sequential learning.这样孩子们就会循序渐进地学习。