Skip to content
fn

mish_op

→TensorImplPtr
int mish_op(const int & a)

Python wrappers

Public Python APIs implemented by this engine symbol.

Mish activation y=x⋅tanh⁡(softplus(x))y = x \cdot \tanh(\mathrm{softplus}(x)).

See Also

MishBackward : Autograd node implementing the gradient rule.

Parameters

aTensorImplPtr
Input tensor.

Returns

TensorImplPtr

Output tensor with the same shape as a.