# seed¶

ivy.seed(seed_value=0, f=None)[source]

Sets the seed for random number generation.

Parameters
• seed_value (int) – Seed for random number generation, must be a positive integer.

• f (ml_framework, optional) – Machine learning framework. Inferred from inputs if None.

Supported Frameworks: