forked from mindspore-Ecosystem/mindspore
!21930 code docs communication
Merge pull request !21930 from yao_yf/code_docs_communication_api_note_fix
This commit is contained in:
commit
985b773fd6
|
@ -232,8 +232,7 @@ def get_world_rank_from_group_rank(group, group_rank_id):
|
|||
This method should be used after init().
|
||||
|
||||
Args:
|
||||
group (str): The communication group to work on. The group is created by create_group
|
||||
or the default world communication group.
|
||||
group (str): The communication group to work on. The group is created by create_group.
|
||||
group_rank_id (int): A rank ID in the communication group.
|
||||
|
||||
Returns:
|
||||
|
@ -269,8 +268,7 @@ def get_group_rank_from_world_rank(world_rank_id, group):
|
|||
|
||||
Args:
|
||||
world_rank_id (int): A rank ID in the world communication group.
|
||||
group (str): The communication group to work on. The group is created by create_group
|
||||
or the default world communication group.
|
||||
group (str): The communication group to work on. The group is created by create_group.
|
||||
|
||||
Returns:
|
||||
int, the rank ID in the user communication group.
|
||||
|
|
Loading…
Reference in New Issue