From 765ecda92809f4cadb4e70120cd86b3e52b7f8af Mon Sep 17 00:00:00 2001 From: yao_yf Date: Tue, 17 Aug 2021 11:07:59 +0800 Subject: [PATCH] communication api note fix --- mindspore/communication/management.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/mindspore/communication/management.py b/mindspore/communication/management.py index 9e79ac82f16..0ad0f870cec 100755 --- a/mindspore/communication/management.py +++ b/mindspore/communication/management.py @@ -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.