mirror of
https://github.com/Relintai/pmlpp.git
synced 2024-11-08 13:12:09 +01:00
Fix weights size in MLPPMultiOutputLayer.
This commit is contained in:
parent
14cd9dedb8
commit
92c1bb0523
@ -159,7 +159,7 @@ MLPPMultiOutputLayer::MLPPMultiOutputLayer(int n_output, int p_n_hidden, MLPPAct
|
||||
_weights.instance();
|
||||
_bias.instance();
|
||||
|
||||
_weights->resize(Size2i(_n_hidden, _n_output));
|
||||
_weights->resize(Size2i(_n_output, _n_hidden));
|
||||
_bias->resize(_n_output);
|
||||
|
||||
MLPPUtilities utils;
|
||||
|
Loading…
Reference in New Issue
Block a user