validate_rng# snake.core.sampling.factories.validate_rng(rng=None)[source]# Validate Random Number Generator. Parameters: rng (int | None | Generator) Return type: Generator