From fd009d815e1a6f0ca0b5bbe845a8f0e0be493330 Mon Sep 17 00:00:00 2001 From: w00535372 Date: Mon, 12 Apr 2021 19:07:51 +0800 Subject: [PATCH] r1.2 doc fix for dot and batch dot --- mindspore/ops/composite/math_ops.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mindspore/ops/composite/math_ops.py b/mindspore/ops/composite/math_ops.py index 774f86d6cc..26115eb05a 100644 --- a/mindspore/ops/composite/math_ops.py +++ b/mindspore/ops/composite/math_ops.py @@ -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.