Loading TOC...

cntk:pre-lu

cntk:pre-lu(
   $alpha as cntk:variable,
   $operand as cntk:variable,
   [$name as xs:string]
) as cntk:function

Summary

Create an instance of the CNTK built-in elementwise parametric rectified linear Unit operation with the specified input operand and learning parameter alpha.

Parameters
$alpha
$operand
$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:pre-lu($input-variable2, $input-variable1, "j5WRkRL1")
  => cntk:function(Composite PReLU (Input(Name(feature), Shape([3]),
  Dynamic Axes([Sequence Axis(Default Dynamic Axis), Batch Axis(Default Batch
  Axis)])), 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.