稠密连接网络(DenseNet)

http://zh-v2.d2l.ai/chapter_convolutional-modern/densenet.html

train_iter, test_iter = d2l.load_data_fashion_mnist(batch_size)
训练前,加载数据时,把resize去掉,就会报错,这是为什么?