mlx_rs::random

Function key

Source
pub fn key(seed: u64) -> Result<Array>
Expand description

Get a PRNG key from a seed.

Return a value that can be used as a PRNG key. All random::* functions take an optional key – this will let you control the random number generation.