TypeError: empty() received an invalid combination of arguments - got (tuple, dtype=NoneType, device
训练模型时报错:TypeError:empty()receivedaninvalidcombinationofarguments-got(tuple,dtype=NoneType,device=NoneType),butexpectedoneof:*(tupleofintssize,*,tupleofnamesnames,torch.memory_formatmemory_format,torch