pytorch_note 查看模型名称: for name, param in model.named_parameters(): if param.requires_grad: print('hbsun-debug', name, param.data.shape)