将数组打乱随机排列两种方法: np.random.shuffle(x):在原数组上进行,改变自身序列,无返回值。 np.random.permutation(x):不在原数组上进行, ...
確定! 回上一頁