Loading TOC...

cntk.functionArguments

cntk.functionArguments(
   $model as cntk.function,
   [$rowMajor as Boolean]
) as Sequence

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

  var model = fn.doc("AlexNet.model")
  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.