fix
This commit is contained in:
parent
3b00621bd3
commit
815b4669e5
|
@ -8535,7 +8535,7 @@ class Conv3DTranspose(PrimitiveWithInfer):
|
||||||
|
|
||||||
class SoftShrink(Primitive):
|
class SoftShrink(Primitive):
|
||||||
r"""
|
r"""
|
||||||
Applies the soft shrinkage function element-wise.
|
Applies the SoftShrink function element-wise.
|
||||||
|
|
||||||
.. math::
|
.. math::
|
||||||
\text{SoftShrink}(x) =
|
\text{SoftShrink}(x) =
|
||||||
|
@ -8546,7 +8546,7 @@ class SoftShrink(Primitive):
|
||||||
\end{cases}
|
\end{cases}
|
||||||
|
|
||||||
Args:
|
Args:
|
||||||
lambd(Float): the :math:`\lambda` must be no less than zero value for the Softshrink formulation. Default: 0.5.
|
lambd(Float): the :math:`\lambda` must be no less than zero for the SoftShrink formulation. Default: 0.5.
|
||||||
|
|
||||||
Inputs:
|
Inputs:
|
||||||
- **input_x** (Tensor) - The input of SoftShrink with data type of float16 or float32.
|
- **input_x** (Tensor) - The input of SoftShrink with data type of float16 or float32.
|
||||||
|
|
Loading…
Reference in New Issue