This commit is contained in:
Zhengshou Lai
2025-05-11 22:45:33 +08:00
parent 19be78b2b6
commit 21f23b3058
+1 -1
View File
@@ -232,7 +232,7 @@ void FFN<
}
// Perform the backward pass.
networkDelta.set_size(predictors.n_rows, batchSize);
networkDelta.set_size(predictors.n_rows, 1);
network.Backward(networkOutput, error, gradients, networkDelta);
}