Loading TOC...

cntk.normalRandomLike

cntk.normalRandomLike(
   $x as cntk.variable,
   [$mean as Number],
   [$scale as Number],
   [$seed as (Number|String)],
   [$name as 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

  var inputVariable1 = cntk.inputVariable(cntk.shape([3]), "float", fn.false(),
    fn.false(), "feature")
  cntk.normalRandomLike(inputVariable1, 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.