模型开发接口
推理部署接口
API 相关说明
Sets the seed for generating random numbers globally.
seed (int) – the number to be set for generating random numbers.
int
None.
Examples
>>> import megengine.random as rand >>> rand.seed(0)
previous
RNG
next
megengine.random.permutation