!31147 modify input_params

Merge pull request !31147 from 俞涵/code_docs_modifydirname
This commit is contained in:
i-robot 2022-03-11 02:46:09 +00:00 committed by Gitee
commit 0b1ec574cf
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
9 changed files with 9 additions and 9 deletions

View File

@ -33,7 +33,7 @@ mindspore.COOTensor
**参数:**
- **dytpe** (`mindspore.dtype`) - 指定数据类型。
- **dtype** (`mindspore.dtype`) - 指定数据类型。
**返回:**

View File

@ -35,7 +35,7 @@ mindspore.CSRTensor
**参数:**
- **dytpe** (`mindspore.dtype`) - 指定数据类型。
- **dtype** (`mindspore.dtype`) - 指定数据类型。
**返回:**

View File

@ -26,7 +26,7 @@ mindspore.ops.ScatterDiv
Tensor更新后的 `input_x` shape和类型与 `input_x` 相同。
异常:
**异常:**
- **TypeError** - `use_locking` 不是bool。
- **TypeError** - `indices` 不是int32。

View File

@ -28,7 +28,7 @@ mindspore.ops.ScatterMax
Tensor更新后的 `input_x`shape和类型与 `input_x` 相同。
异常:
**异常:**
- **TypeError** - `use_locking` 不是bool。
- **TypeError** - `indices` 不是int32。

View File

@ -8,7 +8,7 @@ mindspore.ops.batch_dot
.. math::
output = x1[batch, :]* x2[batch, :]
**输入**
**参数**
- **x1** (Tensor) - 第一个输入Tensor数据类型为float32且 `x1` 的秩必须大于或等于2。
- **x2** (Tensor) - 第二个输入Tensor数据类型为float32。 `x2` 的数据类型应与 `x1` 相同,`x2` 的秩必须大于或等于2。

View File

@ -5,7 +5,7 @@ mindspore.ops.dot
两个Tensor之间的点积。
**输入**
**参数**
- **x1** (Tensor) - 第一个输入的Tensor数据类型为float16或float32秩必须大于或等于2。
- **x2** (Tensor) - 第二个输入的Tensor数据类型为float16或float32秩必须大于或等于2。

View File

@ -11,7 +11,7 @@
axes = 0为外积。axes = 1为普通矩阵乘法输入是2维的。axes = 1与axes = ((1,),(0,)相同,其中 `a``b` 都是2维的。axes = 2与axes = ((1,2),(0,1))相同,其中 `a``b` 都是3维的。
**输入**
**参数**
- **x1** (Tensor) - tensor_dot的第一个输入Tensor其数据类型为float16或float32。
- **x2** (Tensor) - tensor_dot的第二个输入Tensor其数据类型为float16或float32。

View File

@ -14,6 +14,6 @@ mindspore.ops.ms_hybrid
- **reg_info** (tuple[str, dict]) - 算子注册信息。默认值None。
- **compile_attrs** (Dict) - 算子编译信息。默认值None。
**输出**
**返回**
Function如果 `fn` 不是None那么返回一个用Hybrid DSL写的可执行函数如果 `fn` 是None则返回一个装饰器该装饰器只有 `fn` 一个参数。

View File

@ -1,4 +1,4 @@
.. py:class:: mindspore.train.callback.LambdaCallback()
.. py:class:: mindspore.train.callback.LambdaCallback(epoch_begin=None, epoch_end=None, step_begin=None, step_end=None, begin=None, end=None)
用于自定义简单的callback。