Fix weights size in MLPPMultiOutputLayer.

This commit is contained in:
Relintai 2023-12-28 11:16:20 +01:00
parent 14cd9dedb8
commit 92c1bb0523

View File

@ -159,7 +159,7 @@ MLPPMultiOutputLayer::MLPPMultiOutputLayer(int n_output, int p_n_hidden, MLPPAct
_weights.instance(); _weights.instance();
_bias.instance(); _bias.instance();
_weights->resize(Size2i(_n_hidden, _n_output)); _weights->resize(Size2i(_n_output, _n_hidden));
_bias->resize(_n_output); _bias->resize(_n_output);
MLPPUtilities utils; MLPPUtilities utils;