LeakyRelu - version 6#

This page documents version 6 of operator LeakyRelu. See LeakyRelu for the latest version (since version 16).

  • Domain: ai.onnx

  • Since version: 6

LeakyRelu takes input data (Tensor ) and an argument alpha, and produces one output data (Tensor ) where the function f(x) = alpha * x for x  = 0, is applied to the data tensor elementwise.

Inputs

  • X (T): Input tensor

Outputs

  • Y (T): Output tensor

Attributes

  • alpha (float): Coefficient of leakage.

Type Constraints

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

Differences with previous version (1)#

SchemaDiff: LeakyRelu (domain 'ai.onnx')

  • old version: 1

  • new version: 6

  • breaking: no