模型开发接口
推理部署接口
API 相关说明
Sets the seed for generating random numbers globally.
seed (int) – the number to be set for generating random numbers.
int
None.
实际案例
>>> import megengine.random as rand >>> rand.seed(0)
上一页
RNG
下一页
megengine.random.permutation