r"""Applies the element-wise Sigmoid Linear Unit function, i.e. `x * sigmoid(x)`.
(x)
| 885 | |
| 886 | |
| 887 | def silu(x): |
| 888 | r"""Applies the element-wise Sigmoid Linear Unit function, i.e. `x * sigmoid(x)`.""" |
| 889 | return _elwise(x, mode=Elemwise.Mode.SILU) |
| 890 | |
| 891 | |
| 892 | def gelu(x): |