to_categorical(y, num_classes=None, dtype='float32'). 將整型標籤轉為onehot。y為 int 陣列,num_classes為標籤類別總數,大於max(y)(標籤從0開始 ...
確定! 回上一頁