doc: fix some comments (#322)
This commit is contained in:
parent
2a8936dfed
commit
aaaeda1846
|
|
@ -51,12 +51,12 @@ namespace ops {
|
||||||
*
|
*
|
||||||
* HardSwish(x) : 0 if x <= -3; x(x + 3)/6 if -3 < x < 3; x if x >= 3
|
* HardSwish(x) : 0 if x <= -3; x(x + 3)/6 if -3 < x < 3; x if x >= 3
|
||||||
*
|
*
|
||||||
* Mish(x) : x if x >= 0 else alpha * x
|
|
||||||
*
|
|
||||||
* HardSigmoid(x) : min(max(alpha*x + beta, 0), 1)
|
* HardSigmoid(x) : min(max(alpha*x + beta, 0), 1)
|
||||||
*
|
*
|
||||||
* SoftRelu(x) : log(1 + e^x). Also known as SoftPlus.
|
* SoftRelu(x) : log(1 + e^x). Also known as SoftPlus.
|
||||||
*
|
*
|
||||||
|
* Mish(x) : x * tanh(softrelu(x))
|
||||||
|
*
|
||||||
* LeakyRelu(x) : alpha * x if x <= 0; x if x > 0. alpha is a scalar.
|
* LeakyRelu(x) : alpha * x if x <= 0; x if x > 0. alpha is a scalar.
|
||||||
*
|
*
|
||||||
* Prelu(x) : alpha * x if x <= 0; x if x > 0. alpha is a tensor.
|
* Prelu(x) : alpha * x if x <= 0; x if x > 0. alpha is a tensor.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue