megengine.distributed.get_rank#

get_rank()[源代码]#

返回当前进程的 Rank(进程序号)。

返回类型:

int