Selu - version 1#

This page documents version 1 of operator Selu. See Selu for the latest version (since version 22).

  • Domain: ai.onnx

  • Since version: 1

Selu takes one input data (Tensor ) and produces one output data (Tensor ) where the scaled exponential linear unit function, y = gamma * (alpha * e^x - alpha) for x   0, is applied to the tensor elementwise.

Inputs

  • X (T): Input tensor

Outputs

  • Y (T): Output tensor

Attributes

  • alpha (float): Coefficient of SELU default to 1.6732.

  • gamma (float): Coefficient of SELU default to 1.0507.

Type Constraints

  • T: Constrain input and output types to float tensors. Allowed types: tensor(double), tensor(float), tensor(float16).