It takes advantage of the fact that numpy arrays can be indexed with ... 3, 2, 1, 0]) >>> s = np.arange(x.shape[0]) >>> np.random.shuffle(s) ...
確定! 回上一頁