Loading TOC...

cntk.normalRandom

cntk.normalRandom(
   $shape as cntk.shape,
   $data-type as String,
   [$mean as Number],
   [$scale as Number],
   [$seed as (Number|String)],
   [$name as String]
) as cntk.function

Summary

Create an instance of a uniform random operation. This produces random numbers with the shape and dynamic axes specified by the operand, uniformly distributed in [low, high)

Parameters
$shape Shape of the output (entries are independent random draws).
$data-type Data type.
$mean Mean of the distribution.
$scale Scale 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

  cntk.normalRandom(cntk.shape(245), "double", 831551681.839951, 3259662631.305833,
    7768849238031644999, "nw4I[")
  => cntk.function(Composite RandomDistribution ())

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