Class LayerSP4
Defined in File layerSP4.h
Inheritance Relationships
Base Type
public Layer
(Class Layer)
Class Documentation
-
class LayerSP4 : public Layer
Represents a specialized layer with a quartic (fourth power) activation function, derived from the Layer class.
This class implements a layer in the neural network that uses a quartic activation function.
Public Functions
-
inline LayerSP4(int nbDown, int nbUp, int nbWeights, int nbWeightsForInit)
Constructor for the LayerSP4 class.
Initializes the layer with the quartic 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 LayerSP4(int nbDown, int nbUp, int nbWeights, int nbWeightsForInit)