From 60dc657f67ee80cee9a2825484d30063ec80e829 Mon Sep 17 00:00:00 2001 From: Yi Huaijie Date: Fri, 29 May 2020 09:14:42 +0800 Subject: [PATCH] fix class docstring spell error --- mindspore/ops/operations/comm_ops.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mindspore/ops/operations/comm_ops.py b/mindspore/ops/operations/comm_ops.py index 19e94a1f5f..6e0c22f584 100644 --- a/mindspore/ops/operations/comm_ops.py +++ b/mindspore/ops/operations/comm_ops.py @@ -304,7 +304,7 @@ class HostReduceScatter(PrimitiveWithInfer): like sum, max, avg. Default: ReduceOp.SUM. group (Union[tuple[int],list[int]]): The rand_ids of communication group to work on. - Raise: + Raises: TypeError: If op is not a string and group is not a list nor tuple, or elements of group are not int. ValueError: If the first dimension of input can not be divided by rank size,