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: