forked from mindspore-Ecosystem/mindspore
!32486 Update API documentation
Merge pull request !32486 from xuxinyu5/code_doc_master
This commit is contained in:
commit
462167b192
|
@ -9,7 +9,7 @@ mindspore.dataset.vision.c_transforms.RandomSharpness
|
|||
|
||||
**参数:**
|
||||
|
||||
- **degrees** (Union[list, tuple], 可选) - 锐度调整度的随机选取范围,按照(min, max)顺序排列。如果min与max相等,那么它是一个单一的固定锐度调整操作,默认值:(0.1, 1.9)。
|
||||
- **degrees** (Union[list, tuple], 可选) - 锐度调节系数的随机选取范围,需为非负数,按照(min, max)顺序排列。如果min与max相等,将使用固定的调节系数进行处理,默认值:(0.1, 1.9)。
|
||||
|
||||
**异常:**
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@ mindspore.dtype_to_nptype
|
|||
|
||||
.. py:method:: mindspore.dtype_to_nptype(type_)
|
||||
|
||||
将MindSpore dtype转换成NumPy数据类型。
|
||||
将MindSpore 数据类型转换成NumPy数据类型。
|
||||
|
||||
**参数:**
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@ mindspore.dtype_to_pytype
|
|||
|
||||
.. py:method:: mindspore.dtype_to_pytype(type_)
|
||||
|
||||
将MindSpore dtype转换为Python数据类型。
|
||||
将MindSpore 数据类型转换为Python数据类型。
|
||||
|
||||
**参数:**
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ mindspore.ops.ReLU
|
|||
|
||||
线性修正单元激活函数(Rectified Linear Unit)。
|
||||
|
||||
返回 :math:`\max(x,\ 0)` 的值,负值神经元将被设置为0。
|
||||
返回 :math:`\max(x,\ 0)` 的值,负值神经元将被设置为0, 正值神经元将保持不变。
|
||||
|
||||
.. math::
|
||||
ReLU(x) = (x)^+ = max(0, x)
|
||||
|
|
Loading…
Reference in New Issue