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