错误记录:RuntimeError: one of the variables needed for gradient computation has been modified by an inpl
完整错误信息:RuntimeError:oneofthevariablesneededforgradientcomputationhasbeenmodifiedbyaninplaceoperation:[torch.cuda.FloatTensor[2,256,20,20]],whichisoutput0ofstructtorch::autograd::CopySlices,isatversion