forked from mindspore-Ecosystem/mindspore
fix docs problems for nn.Threshold
This commit is contained in:
parent
f3148dbe6e
commit
708cad7bc3
|
@ -1,7 +1,7 @@
|
|||
mindspore.nn.Threshold
|
||||
=============================
|
||||
|
||||
.. py:class:: mindspore.nn.Threshold
|
||||
.. py:class:: mindspore.nn.Threshold(threshold, value)
|
||||
|
||||
Threshold激活函数,按元素计算输出。
|
||||
|
||||
|
|
|
@ -1084,8 +1084,8 @@ class Threshold(Cell):
|
|||
\end{cases}
|
||||
|
||||
Args:
|
||||
threshold: The value to threshold at.
|
||||
value: The value to replace with when element is less than threshold.
|
||||
threshold (Union[int, float]): The value to threshold at.
|
||||
value (Union[int, float]): The value to replace with when element is less than threshold.
|
||||
|
||||
Inputs:
|
||||
- **input_x** (Tensor) - The input of Threshold with data type of float16 or float32.
|
||||
|
|
Loading…
Reference in New Issue