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
*