1 问题描述与分析 2 解决方法 解决办法1: 解决办法2: 使用PyTorch可视化工具-Tensorboard; writer.add_graph(model,graph_inputs)#输出模型结构 报错如下 RuntimeError: Input type (torch.FloatTensor) and weight type (torch.cuda.FloatTensor) should be th