Next steps

Next up is dropout layers. remember that it can be used to see uncerstaty in multiply output, which is not in the book
This commit is contained in:
2026-05-16 21:36:19 +02:00
parent eb2374eaf5
commit be2c193341
@@ -66,7 +66,7 @@ namespace neural_networks{
dbiases = numerics::sum_rowwise(dvalues); dbiases = numerics::sum_rowwise(dvalues);
// Gradients on regularization // Gradients on regularization
// L1 on weights // L1 on weights
if(weight_regularizer_l1){ if(weight_regularizer_l1){
utils::Matrix<T> dL1(weights.rows(), weights.cols(), T{1}); utils::Matrix<T> dL1(weights.rows(), weights.cols(), T{1});