Backup Save

This commit is contained in:
2026-08-06 10:22:52 +02:00
parent 642bba1198
commit 7f92e6884d
6 changed files with 81 additions and 13 deletions
+17 -1
View File
@@ -323,7 +323,7 @@ struct model{
*
*
*/
bool add_optimizer_sgd(const panic::types::real_t learning_rate = static_cast<panic::types::real_t>(1e-3));
bool add_optimizer_sgd(const panic::types::real_t learning_rate = static_cast<panic::types::real_t>(1));
@@ -337,6 +337,22 @@ struct model{
*/
bool finalize();
/**
* @brief Optimizes the model with parameters on trainable layers
*
* Computes:
* @code
* model.optimize()
* @endcode
*
* @return true if optimization is done correctly.
*
*/
bool optimize();
/**
* @brief Trains the model with input data
*
@@ -24,7 +24,7 @@
* Module Name: neural_network
* File Name: optimizer.hpp
* Revision: 0.1.0
* Date: 23-06-2026
* Date: 06-08-2026
* Author: Michelle Bausager
*
* Description:
@@ -52,7 +52,6 @@ struct optimizer_sgd: optimizer{
panic::types::real_t learning_rate;
/**
* @brief Constructor
*