torch.randpermクラスtorch.randperm() 0からn-1までの整数をランダムに並び替えたTensorを作成します。独自でデータのシャッフルを実装するなどに使用できます。 n, ...
確定! 回上一頁