scatter _(input, dim, index, src)將src中資料根據index中的索引按照dim的方向填進input中。 >>> x = torch.rand(2, 5) >>> x 0.4319 0.6500 0.4080 ...
確定! 回上一頁