From f6eeb212d8a508f6c20349334693e96762b4bd3e Mon Sep 17 00:00:00 2001 From: huangxinjing Date: Wed, 5 Aug 2020 21:18:05 +0800 Subject: [PATCH] Fix comment error --- mindspore/common/initializer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mindspore/common/initializer.py b/mindspore/common/initializer.py index 48a142a23f..f7bf3fef3d 100644 --- a/mindspore/common/initializer.py +++ b/mindspore/common/initializer.py @@ -163,7 +163,7 @@ def _calculate_in_and_out(arr): """ dim = len(arr.shape) if dim < 2: - raise ValueError("If initialize data with xavier uniform, the dimension of data must greater than 1.") + raise ValueError("If initialize data with xavier uniform, the dimension of data must be greater than 1.") n_in = arr.shape[1] n_out = arr.shape[0]