Python function
seed
seed()
max.experimental.random.seed()
Gets the global random seed tensor.
Returns the global seed tensor used for random number generation in eager
execution mode. Creates the seed tensor on first access, initialized with
the dtype, shape, and device specified by max.graph.ops.random.SeedType.
-
Returns:
-
The global seed tensor for random number generation.
-
Return type:
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!