Loading TOC...

cntk.parameter

cntk.parameter(
   $shape as cntk.shape,
   $data-type as String,
   $init as cntk.initializer,
   [$device as cntk.device],
   [$name as String]
) as cntk.parameter

Summary

Constructs a parameter from a parameter initializer.

Parameters
$shape The shape of the parameter.
$data-type The data-type.
$init A cntk:initializer with which to initialize the value of the parameter.
$device On which device to create the parameter.
$name The name of the parameter.

Example

  cntk.parameter(cntk.shape([2,3]), "float", cntk.uniformInitializer(100))
  => cntk.parameter(Parameter(Uid(Parameter4414), Shape([3]), Dynamic Axes([])))

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