x (int or array, optional) – If an integer is provided a random
permtuation of mx.arange(x) is returned. Otherwise the entries
of x along the given axis are randomly permuted.
axis (int, optional) – The axis to permute along. Default: 0.
key (array, optional) – A PRNG key. Default: None.