brainpy.initialize module
Contents
brainpy.initialize
module#
This module provides methods to initialize weights.
You can access them through brainpy.init.XXX
.
Base Class#
Base Initialization Class. |
|
The superclass of Initializers that initialize the weights between two layers. |
|
The superclass of Initializers that initialize the weights within a layer. |
Regular Initializers#
|
Zero initializer. |
|
One initializer. |
|
Returns the identity matrix. |
Random Initializers#
|
Initialize weights with normal distribution. |
|
Initialize weights with uniform distribution. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Construct an initializer for uniformly distributed orthogonal matrices. |
|
Construct an initializer for delta orthogonal kernels; see arXiv:1806.05393. |
Decay Initializers#
|
Builds a Gaussian connectivity pattern within a population of neurons, where the weights decay with gaussian function. |
|
Builds a Difference-Of-Gaussian (dog) connectivity pattern within a population of neurons. |