scatter_(input, dim, index, src)將src中數據根據index中的索引按照dim的方向填進input中。 用於將數據轉換爲one hot 獨熱編碼時,代碼如下def ...
確定! 回上一頁