PyTorch:函数加下划线代表的意思

PyTorch中,一般函数加下划线代表直接在原来的 Tensor 上修改,即in-place操作

原文地址:https://www.cnblogs.com/SakuraYuki/p/13341450.html