Loading TOC...

cntk:output-variable

cntk:output-variable(
   $shape as cntk:shape,
   $data-type as xs:string,
   $dynamic-axes as cntk:axis*,
   [$needs-gradient as xs:boolean],
   [$name as xs:string]
) as cntk:variable

Summary

Constructs an output variable.

Parameters
$shape The shape of the output variable.
$data-type The data type of the output variable.
$dynamic-axes The dynamic axes of the output variable.
$needs-gradient Whether the output variable needs gradient. Default is true.
$name The name of the output variable.

Example

  cntk:output-variable(cntk:shape((3,4)), "float",(cntk:axis(0)),fn:false(),
    "feature")
  => cntk:variable(Output(Name(feature), Shape([3 x 4]), Dynamic
  Axes([staticAxisIdx=0)])))

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