Selu

Description

Generates a tensor using the exponential linear unit function y = gamma * (alpha * e^x - alpha) for x < = 0, y = gamma * x for x > 0 at the element level.

Input

One input:

x: tensor of type float16 or float.

Output

One output:

y: tensor of the identical data type as the input.

Property

alpha: multiplication factor.

gamma: multiplication factor.

Constraints

Only the default values of alpha and gamma can be used: ALPHA_DEFAULT = 1.67326324235 and GAMMA_DEFAULT = 1.05070098736.

ONNX Opset Support

Opset v8/v9/v10/v11/v12/v13/v14/v15/v16/v17/v18