Loading TOC...

cntk:variable-value

cntk:variable-value(
   $variable as cntk:variable
) as cntk:value

Summary

Returns the value of the variable. Throws exception if the variable is not a parameter or constant.

Parameters
$variable The input variable.

Example

  cntk:variable-value(cntk:constant(cntk:shape((2,3)),
    "float16", 55.55, cntk:cpu(), "new_constant"))
  => cntk:value(Shape([2 x 3]), Device Kind Name(CPU))

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