Loading TOC...

cntk:function-constants

cntk:function-constants(
   $model as cntk:function
) as cntk:constant*

Summary

Returns the constants of a CNTK model, as a sequence of cntk:constant

Parameters
$model The model whose constants were to be extracted.

Example

  let $input-variable1 := cntk:input-variable(cntk:shape((2,2)), "float", fn:false(), fn:false(), "feature")
  let $model := cntk:transpose($input-variable1, "name")
  return cntk:function-constants($model)

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