Loading TOC...

cntk:function-arguments

cntk:function-arguments(
   $model as cntk:function,
   [$rowMajor as xs:boolean]
) as cntk:variable*

Summary

Returns all arguments of a CNTK model, as a sequence of cntk:variable.

Parameters
$model The model whose arguments were to be extracted.
$rowMajor Whether to return the variables in row major order. Default is false.

Example

  let $model := fn:doc("AlexNet.model")
  return cntk:function($model/binary(), cntk:cpu())

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