RuntimeError: Integer division of tensors using div or / is no longer supported, and in a future rel
RuntimeError:Integerdivisionoftensorsusingdivor/isnolongersupported,andinafuturereleasedivwillperformtruedivisionasinPython3.Usetrue_divideorfloor_divide(//inPython)instead.在高版本的pytorch中,会报这个错误。例子:nor