Selu

Description

Computes a tensor element-wise using the Selu function for exponential linear units and outputs the result tensor.

Input

x: input tensor. The data type is int32, int8, float16, or float.

Output

y: tensor of the identical data type as the input and with the same dimension as x.

Attribute

  • alpha: multiplication factor. The data type is float.
  • gamma: multiplication factor. The data type is float.

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