Skip to contents

It is defined as: swish(x) = x * sigmoid(x).

The Swish (or Silu) activation function is a smooth, non-monotonic function that is unbounded above and bounded below.

Usage

activation_silu(x)

Arguments

x

Input tensor.

Value

A tensor, the result from applying the activation to the input tensor x.