Class LayerRad

Inheritance Relationships

Base Type

Class Documentation

class LayerRad : public Layer

Represents a specialized radial basis function (RBF) layer, derived from the Layer class.

This class implements a layer in the neural network that uses Gaussian activation functions and performs radial basis function computations during forward propagation.

Public Functions

inline LayerRad(int nbDown, int nbUp, int nbWeights, int nbWeightsForInit)

Constructor for the LayerRad class.

Initializes the radial basis function layer 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.