I159 / go_deep

Neural network framework on pure Go
MIT License
1 stars 0 forks source link

Rearrange synapses initialization #29

Open I159 opened 6 years ago

I159 commented 6 years ago

For a correct and natural dot product synapses should be of form:

Previous layer size
|-----------|   ___
[1, 2, 3, 4, 5]  |
[6, 7, 8, 9, 0]  |  Next layer size
[1, 3, 5, 7, 9]  |
                ---

Each raw of synapses are connections between all outputs of a previous layer and a single neuron of a next one. Also it could be turned in columns-to-raws manner for backward propagation.