Class LayerSD

Inheritance Relationships

Base Type

Class Documentation

class LayerSD : public Layer

Represents a specialized SD (Quantized Support Vector Machine Dot product (linear kernel)) layer with identity activation function, derived from the Layer class.

This class implements a layer in the neural network that uses the identity activation function.

Public Functions

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

Constructor for the LayerSD class.

Initializes the layer with the identity 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.