forked from mindspore-Ecosystem/mindspore
communication api note fix
This commit is contained in:
parent
2c3bd0fdec
commit
765ecda928
|
@ -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