!4020 Fix grammatical error in the comment

Merge pull request !4020 from huangxinjing/doc-error
pull/4020/MERGE
mindspore-ci-bot 5 years ago committed by Gitee
commit dd68fb16bf

@ -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]

Loading…
Cancel
Save