现象我们发现np.random.permutation要比np.random.shuffle快很多x = np.random.rand(50000, 2)# 933 µs %timeit x.take(np.random.permutation(x.shape[0]), ...
確定! 回上一頁