8、PyTorch的state_dict、parameters、modules源码
Save and Load the ModelPyTorch models store the learned parameters in an internal state dictionary, called state_dict. These can be persisted via the torch.save method:model = models.vgg16(weights='IMAGENET1K_V1')
# 保存模型的参数、优化器状态、batch_nomalization、dro...