Loading TOC...

cntk.parameterFromValue

cntk.parameterFromValue(
   $value as cntk.value,
   [$name as 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

  cntk.parameterFromValue(cntk.value(cntk.shape([1]),[3]))
  => cntk.parameter(Parameter(Uid(Parameter1), Shape([1]), Dynamic Axes([])))

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