Loading TOC...

cntk:elu-with-alpha

cntk:elu-with-alpha(
   $x as cntk:variable,
   $alpha as xs:double,
   [$name as xs:string]
) as cntk:function

Summary

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.

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

Example

  let $input-variable1 := cntk:input-variable(cntk:shape((3)), "float", fn:false(),
    fn:false(), "feature")
  let $input-variable2 := cntk:input-variable(cntk:shape((3)), "float", fn:false(),
    fn:false(), "feature")
  return cntk:elu-with-alpha($input-variable1, 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.