Loading TOC...


   $x as cntk.variable,
   $alpha as Number,
   [$name as String]
) as cntk.function


Exponential linear unit operation. Computes the element-wise exponential linear of x: max(x, 0) for x >= 0 and x: alpha * (exp(x)-1) otherwise. The output tensor has the same shape as x. operand.

$x Any Function that outputs a tensor.
$alpha Alpha in the above equation.
$name The name of the function instance in the network.


  var inputVariable1 = cntk.inputVariable(cntk.shape([3]), "float", fn.false(),
    fn.false(), "feature")
  var inputVariable2 = cntk.inputVariable(cntk.shape([3]), "float", fn.false(),
    fn.false(), "feature")
  cntk.eluWithAlpha(inputVariable1, 2082162327.511887, ">Rw$l")
  => cntk.function(Composite ELU (Input(Name(feature), Shape([3]), Dynamic
  Axes([Sequence Axis(Default Dynamic Axis), Batch Axis(Default Batch Axis)]))))

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.