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

On this page

  • Const
    • Parameters
    • Methods
      • sample

Const

random.Const(self, value)

Constant “random” distribution, returning the same value.

Parameters

Name Type Description Default
value float constant value. required

Methods

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

sample

random.Const.sample(shape)

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

RLS
Uniform
 

Copyright Julien Vitay