espnet2.layers.augmentation.weighted_sample_without_replacement
Less than 1 minute
espnet2.layers.augmentation.weighted_sample_without_replacement
espnet2.layers.augmentation.weighted_sample_without_replacement(population, weights, k, rng=<module 'random' from '/opt/hostedtoolcache/Python/3.10.15/x64/lib/python3.10/random.py'>)