refactor: remove input.hpp

This commit is contained in:
2026-10-25 19:21:17 +01:00
parent 471c9c8997
commit fa0418914a
8 changed files with 81 additions and 146 deletions
+2 -2
View File
@@ -15,7 +15,7 @@ int main(void) {
};
// network net;
using network_type = cenet::network<cenet::dense_input<2>,
using network_type = cenet::network<cenet::mat<1, 2, float>,
cenet::dense_layer<2>,
cenet::sigmoid_layer,
cenet::dense_layer<1>,
@@ -50,7 +50,7 @@ int main(void) {
xs[0][0] = static_cast<float>(i & 1);
xs[0][1] = static_cast<float>(i > 1);
float yHat = xorNet.feed(xs).get()[0][0];
float yHat = xorNet.feed(xs)[0][0];
float error = yHat - s_trainData[i];
if ((gen % 1000) == 0) {