tfr.utils.shuffle_valid_indices

Returns a shuffle of indices with valid ones on top.