理解torch.scatter_(). 官方文件. scatter_ (dim, index, src): 將src中所有的值分散到 self 中,填法是按照 index 中所指示的索引來填入。
確定! 回上一頁