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

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

posted @ 2020-07-15 15:56  龙雪  阅读(725)  评论(0编辑  收藏  举报