Loading TOC...

cntk:normal-random-like

cntk:normal-random-like(
   $x as cntk:variable,
   [$mean as xs:double],
   [$scale as xs:double],
   [$seed as xs:unsignedLong],
   [$name as xs:string]
) as cntk:function

Summary

Create an instance of a normal random operation. This produces random numbers with the shape and dynamic axes specified by the operand, normally distributed with the specified mean and standard deviation (scale)

Parameters
$x Cntk variable (input, output, parameter, or constant) from which to copy the shape, data type, and dynamic axes.
$mean Mean of the distribution.
$scale Scale (standard deviation) of the distribution.
$seed Pseudo random number generator seed (default: automatically select a unique seed).
$name The name of the function instance in the network.

Example

  let $input-variable1 := cntk:input-variable(cntk:shape((3)), "float", fn:false(),
    fn:false(), "feature")
  return cntk:normal-random-like($input-variable1, 9150300382.816837,
    9965882174.942966, 12165287044009998447, "d")
  => cntk:function(Composite RandomDistribution ())

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