random - random layer classes

The file yann.layers.random.py contains the definition for the merge layers.

class yann.layers.random.random_layer(num_neurons, id=-1, distribution='binomial', verbose=2, options=None)[source]

This is a random generation layer.

  • num_neurons – List of the shapes of all inputs.
  • distribution'binomial', 'uniform', 'normal' 'gaussian'
  • limits – tuple for uniform
  • mu – mean for gaussian
  • sigma – variance for gaussian
  • p – if type is 'binomial' supply a p variable. Default is 0.5
  • id – Supply a layer id
  • num_neurons – Supply the output shape of the layer desired.
  • verbose – As always