Class LayerSP5

Inheritance Relationships

Base Type

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.