for fc_layer in self.fc_layers: x = fc_layer(x) return x # 初始化神经网络 net = Net() # 加载训练好的参数 net.load_state_dict(torch.load('model.pt')) # 获取神经网络的状态字典 state_dict = net.state_dict() # 打印神经网络中每个子模块的参数值 for name, param in state_dict.item...