!15019 r1.2 doc typo fix for dot and batch dot

From: @anrui-wang
Reviewed-by: @wuxuejian,@oacjiewen
Signed-off-by: @wuxuejian
This commit is contained in:
mindspore-ci-bot 2021-04-13 09:54:16 +08:00 committed by Gitee
commit 5acf3f2858
1 changed files with 2 additions and 2 deletions

View File

@ -310,7 +310,7 @@ def dot(x1, x2):
Raises:
TypeError: If type of x1 and x2 are not the same.
TpyeError: If dtype of x1 or x2 is not float16 or float32.
TypeError: If dtype of x1 or x2 is not float16 or float32.
ValueError: If rank of x1 or x2 less than 2.
Supported Platforms:
@ -470,7 +470,7 @@ def batch_dot(x1, x2, axes=None):
Raises:
TypeError: If type of x1 and x2 are not the same.
TpyeError: If dtype of x1 or x2 is not float32.
TypeError: If dtype of x1 or x2 is not float32.
ValueError: If rank of x1 or x2 less than 2.
ValueError: If batch dim used in axes.
ValueError: If len(axes) less than 2.