Loading TOC...

cntk:parameter-from-value

cntk:parameter-from-value(
   $value as cntk:value,
   [$name as xs:string]
) as cntk:parameter

Summary

Constructs a parameter from a cntk:value that is not a sequence or batch.

Parameters
$value The initial value of the parameter. Cannot be a sequence or batch.
$name The name.

Example

  let $v := cntk:value(cntk:shape((3,4)), json:to-array(1 to 12))
  return cntk:parameter-from-value($v)
  => cntk:parameter(Parameter(Uid(Parameter0), Shape([3 x 4]), Dynamic Axes([])))

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