def RandomShuffle ( a , seed ) : if seed : np . random . seed ( seed ) r = a . copy ( ) np . random . shuffle ( r ) return r ,
shuffling an array randomly in python
Random uniform op .
def RandomShuffle(a, seed):
    """
    Random uniform op.
    """
    if seed:
        np.random.seed(seed)
    r = a.copy()
    np.random.shuffle(r)
    return r,