first model

This commit is contained in:
2026-07-29 17:34:22 +02:00
parent 47671354ce
commit f5e0ee209b
25 changed files with 2642 additions and 108 deletions
+15 -2
View File
@@ -118,8 +118,6 @@ struct model{
*/
bool add(layer* new_layer);
// Create and add a dense layer.
/**
* @brief Adds a dense layer to the model.
*
@@ -140,6 +138,21 @@ struct model{
panic::types::uint_t neuron_count
);
/**
* @brief Adds a activation ReLU layer to the model.
*
* Computes:
* @code
* model.add_activation_ReLU(3,4);
* @endcode
*
*
* @return true if layer is added
*
* @note This function is convenient, but it allocates a new layer.
*/
bool add_activation_ReLU();
/**
* @brief Loops over all layers forward function
*