Loading TOC...

cntk:random-initializer-with-rank

cntk:random-initializer-with-rank(
   $initializer as cntk:initializer,
   $output-rank as xs:integer,
   $filter-rank as xs:integer
) as cntk:initializer

Summary

Overrides $output-rank and $filter-rank specification in a random initializer constructed without an explicit rank specification.

Parameters
$initializer initializer whose output_rank and filter_rank parameters are to be overriden.
$output-rank New output rank value.
$filter-rank New filter rank value.

Example

  cntk:parameter(cntk:shape((5,6)), "float",
    cntk:random-initializer-with-rank(cntk:constant-initializer(), 3, 3),
  cntk:cpu(), "parameter1")
  => cntk:parameter(Parameter(Name(parameter1), Shape([5 x 6]), Dynamic
  Axes([])))

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