PyTorch中,一般函数加下划线代表直接在原来的 Tensor 上修改,即in-place操作
PyTorch:函数加下划线代表的意思
最新推荐文章于 2024-07-16 09:09:45 发布
PyTorch中,一般函数加下划线代表直接在原来的 Tensor 上修改,即in-place操作