cunumeric.random.BitGenerator#
- class cunumeric.random.BitGenerator(seed: int | None = None, forceBuild: bool = False)#
- __init__(seed: int | None = None, forceBuild: bool = False) None #
BitGenerator(seed=None)
Base Class for generic BitGenerators, which provide a stream of random bits based on different algorithms. Must be overridden.
- Parameters:
seed ({None, int}, optional) – A seed to initialize the BitGenerator. If None, then fresh, unpredictable entropy will be pulled from the OS.
See also
- Availability:
Multiple GPUs, Multiple CPUs
Methods