mlx.core.random.key

目录

mlx.core.random.key#

key(seed: int) array#

Get a PRNG key from a seed.

参数:

seed (int) -- Seed for the PRNG.

返回:

The PRNG key array.

返回类型:

array