mlx.core.random.key

目录

mlx.core.random.key#

key(seed: int) array#

从种子获取 PRNG 密钥。

参数:

seed (int) – PRNG 的种子。

返回:

PRNG 密钥数组。

返回类型:

array