PyTorch学习笔记:RuntimeError: one of the variables needed for gradient computation has been modified by
报错信息:RuntimeError:oneofthevariablesneededforgradientcomputationhasbeenmodifiedbyaninplaceoperation:[torch.FloatTensor[784,512]],whichisoutput0ofTBackward,isatversion3;expectedversion2instead.Hint:enab