提交 dd68fb16 编写于 作者: M mindspore-ci-bot 提交者: Gitee

!4020 Fix grammatical error in the comment

Merge pull request !4020 from huangxinjing/doc-error
......@@ -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]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册