zero.randomΒΆ Random sampling utilities. init Set seeds and settings in random, numpy and torch. get_state Aggregate global random states from random, numpy and torch. set_state Set global random states from random, numpy and torch.