jax.nn.mish#
- jax.nn.mish(x)[原始碼]#
Mish 激活函數。
計算元素級函數
\[\mathrm{mish}(x) = x \cdot \mathrm{tanh}(\mathrm{softplus}(x))\]如需更多資訊,請參閱 Mish: A Self Regularized Non-Monotonic Activation Function。
- 參數:
x (ArrayLike) – 輸入陣列
- 返回:
一個陣列。
- 返回型別:
Mish 激活函數。
計算元素級函數
如需更多資訊,請參閱 Mish: A Self Regularized Non-Monotonic Activation Function。
x (ArrayLike) – 輸入陣列
一個陣列。