浏览代码

process->node

/MLA-1734-demo-provider
Chris Elion 4 年前
当前提交
46d8b730
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      ml-agents/mlagents/tf_utils/globals.py

2
ml-agents/mlagents/tf_utils/globals.py


def get_rank() -> Optional[int]:
"""
Returns the rank (in the MPI sense) of the current process.
Returns the rank (in the MPI sense) of the current node.
For local training, this will always be None.
If this needs to be used, it should be done from outside ml-agents.
:return:
正在加载...
取消
保存