torch.nn.functional.silu
- torch.nn.functional.silu(input, inplace=False)
Apply the Sigmoid Linear Unit (SiLU) function, element-wise.
The SiLU function is also known as the swish function.
Apply the Sigmoid Linear Unit (SiLU) function, element-wise.
The SiLU function is also known as the swish function.
See SiLU for more details.