Water Tank
  • Home
  • Notebooks
  • API Reference
  1. Random distributions
  2. Normal
  • API reference
  • Layers
    • RecurrentLayer
    • LinearReadout
    • StaticInput
    • TimeSeriesInput
  • Projections
    • connect
  • Learning rules
    • DeltaLearningRule
    • RLS
  • Random distributions
    • Const
    • Uniform
    • Normal
    • Bernouilli
  • Utilities
    • Recorder

On this page

  • Normal
    • Parameters
    • Methods
      • sample

Normal

random.Normal(self, mean, std)

Normal distribution, returning values with a mean of mean and a standard deviation of std.

Parameters

Name Type Description Default
mean float mean. required
std float standard deviation. required

Methods

Name Description
sample Samples from the distribution and returns an array of the desired shape.

sample

random.Normal.sample(shape)

Samples from the distribution and returns an array of the desired shape.

Uniform
Bernouilli
 

Copyright Julien Vitay