seed#

ivy.seed(*, seed_value=0)[source]#

Set the seed for random number generation.

Parameters:

seed_value (int) – Seed for random number generation, must be a positive integer. (default: 0) (Default value = 0)

Examples

>>> ivy.seed(seed_value=42)
Return type:

None