mixmo.utils.torchutils.randperm_static

mixmo.utils.torchutils.randperm_static(batch_size, proba_static=0)[source]

Perform random permutation with a set percentage remaining fixed