Browse Source

!15018 Doc typo fix for dot and batch dot

From: @anrui-wang
Reviewed-by: @wuxuejian,@liangchenghui
Signed-off-by: @wuxuejian
pull/15018/MERGE
mindspore-ci-bot Gitee 5 years ago
parent
commit
e81f435650
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      mindspore/ops/composite/math_ops.py

+ 2
- 2
mindspore/ops/composite/math_ops.py 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.


Loading…
Cancel
Save