Skip to content
fn

silu_op

→TensorImplPtr
int silu_op(const int & a)

Python wrappers

Public Python APIs implemented by this engine symbol.

SiLU / Swish activation y=x⋅σ(x)y = x \cdot \sigma(x).

See Also

SiluBackward : Autograd node implementing the gradient rule.

Parameters

aTensorImplPtr
Input tensor.

Returns

TensorImplPtr

Output tensor with the same shape as a.