Class LayerSP5
Defined in File layerSP5.h
Inheritance Relationships
Base Type
public Layer
(Class Layer)
Class Documentation
-
class LayerSP5 : public Layer
Represents a specialized layer with a quintic (fifth power) activation function, derived from the Layer class.
This class implements a layer in the neural network that uses a quintic activation function.
Public Functions
-
inline LayerSP5(int nbDown, int nbUp, int nbWeights, int nbWeightsForInit)
Constructor for the LayerSP5 class.
Initializes the layer with the quintic activation function with the specified parameters.
- Parameters:
nbDown – Number of neurons in the previous layer.
nbUp – Number of neurons in the current layer.
nbWeights – Total number of weights.
nbWeightsForInit – Number of weights for initialization.
-
inline LayerSP5(int nbDown, int nbUp, int nbWeights, int nbWeightsForInit)