摘要:
```python import torch from torch import nn from d2l import torch as d2l batch_size = 256 # 保持批量大小为 256 train_iter, test_iter = d2l.load_data_fashion_ 阅读全文
posted @ 2023-05-28 15:44
AncilunKiang
阅读(210)
评论(0)
推荐(0)
摘要:
```python import torch from IPython import display from d2l import torch as d2l batch_size = 256 # batch_size 设为256 train_iter, test_iter = d2l.load_d 阅读全文
posted @ 2023-05-28 15:42
AncilunKiang
阅读(389)
评论(0)
推荐(0)
摘要:
```python %matplotlib inline import torch import torchvision from torch.utils import data from torchvision import transforms from d2l import torch as 阅读全文
posted @ 2023-05-28 15:41
AncilunKiang
阅读(100)
评论(0)
推荐(0)