This commit is contained in:
hladu357 2024-06-20 22:43:58 +02:00
parent 8c7af7c4a6
commit bc8ca47c2c
1 changed files with 1 additions and 1 deletions

View File

@ -141,7 +141,7 @@ float sigmoidDerivative(float x) {
int main() {
NeuralNetwork nn;
nn.addLayer(2, 2, sigmoid, sigmoidDerivative);
nn.addLayer(1, 1, sigmoid, sigmoidDerivative);
nn.addLayer(1, 2, sigmoid, sigmoidDerivative);
std::vector<std::vector<float>> ref = {
{0, 0},