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

On this page

  • Uniform
    • Parameters
    • Methods
      • sample

Uniform

random.Uniform(self, min, max)

Uniform distribution, returning values between min and max.

Parameters

Name Type Description Default
min float lower bound. required
max float upper bound. required

Methods

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

sample

random.Uniform.sample(shape)

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

Const
Normal
 

Copyright Julien Vitay