forked from mindspore-Ecosystem/mindspore
[Docs] Correct formula in the description of operator Elu
This commit is contained in:
parent
424e68a803
commit
de2db9d5a6
|
@ -538,10 +538,11 @@ class Elu(PrimitiveWithInfer):
|
||||||
|
|
||||||
.. math::
|
.. math::
|
||||||
|
|
||||||
\text{x} = \begin{cases}
|
\text{ELU}(x)= \left\{
|
||||||
\alpha * (\exp(\text{x}) - 1), & \text{if x} < \text{0;}\\
|
\begin{array}{align}
|
||||||
\text{x}, & \text{if x} >= \text{0.}
|
\alpha(e^{x} - 1) & \text{if } x \le 0\\
|
||||||
\end{cases}
|
x & \text{if } x \gt 0\\
|
||||||
|
\end{array}\right.
|
||||||
|
|
||||||
The data type of input tensor must be float.
|
The data type of input tensor must be float.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue