Table of Contents

Class ActivationFunction2D

Namespace
NeuralNetworks.Operations.ActivationFunctions
Assembly
NeuralNetworks.dll

Defines an abstract 2D activation function operation applied element-wise to two-dimensional data.

public abstract class ActivationFunction2D : Operation2D
Inheritance
ActivationFunction2D
Derived
Inherited Members

Remarks

Activation functions introduce non-linearity into neural network computations. This base class specifies the contract for operations that transform 2D tensors (e.g., matrices or 2D feature maps), and are typically used in layers processing spatial data without an explicit channel dimension. Concrete implementations should provide the forward activation and, where applicable, support gradient computation for backpropagation by deriving from Operation2D.