Skip to main content

SeedSequence

Standard library class numpy.random.seed.SeedSequence View source
class SeedSequence
class SeedSequence
Fields 4
entropy ndarray[(u32, 1)]
pool_size int
n_children_spawned int
pool ndarray[(u32, 1)]
Constructors 1
__init__
__init__(self: Self, entropy = None, spawn_key: Optional[List[int]] = None, pool_size: int = DEFAULT_POOL_SIZE, n_children_spawned: int = 0)
Properties 1
spawn_key
@property
spawn_key(self: Self) -> List[int]
Methods 2
generate_state
generate_state[dtype: type = u32](self: Self, n_words: int)
spawn
spawn(self: Self, n_children: int)