Next up is dropout layers
This commit is contained in:
@@ -71,7 +71,12 @@ struct layer_dense : trainable_layer{
|
||||
* @param neurons Amount of neurons in the layer
|
||||
*
|
||||
*/
|
||||
layer_dense(panic::types::uint_t input_size, panic::types::uint_t neurons);
|
||||
layer_dense(panic::types::uint_t input_size,
|
||||
panic::types::uint_t neurons,
|
||||
panic::types::real_t weight_regularizer_l1 = 0,
|
||||
panic::types::real_t weight_regularizer_l2 = 0,
|
||||
panic::types::real_t bias_regularizer_l1 = 0,
|
||||
panic::types::real_t bias_regularizer_l2 = 0);
|
||||
|
||||
/**
|
||||
* @brief Default de-constructor
|
||||
|
||||
Reference in New Issue
Block a user