From 5e13b3abf17b5a35c2ba72a6687a6c303a897571 Mon Sep 17 00:00:00 2001 From: Relintai Date: Wed, 27 Dec 2023 21:06:36 +0100 Subject: [PATCH] Fixed MLPPSoftmaxNet::initialize(). --- mlpp/softmax_net/softmax_net.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/mlpp/softmax_net/softmax_net.cpp b/mlpp/softmax_net/softmax_net.cpp index 59985a0..ee894ac 100644 --- a/mlpp/softmax_net/softmax_net.cpp +++ b/mlpp/softmax_net/softmax_net.cpp @@ -391,7 +391,6 @@ bool MLPPSoftmaxNet::needs_init() const { void MLPPSoftmaxNet::initialize() { ERR_FAIL_COND(!_input_set.is_valid() || !_output_set.is_valid()); - ERR_FAIL_COND(needs_init()); int n = _input_set->size().y; int k = _input_set->size().x;