IActivator


Interface describing activation function for neural networks.

You can find more information in comments below.

template<class TYPE>
class IActivator
{
public:
    virtual TYPE Calculate(const TYPE value) = 0; // Calculate activation function value in specified location 
    virtual TYPE Derivative(const TYPE value) = 0; // Calculate derivative value of activation function in specified location 
};
Namespace: nitisa::ai
Include: Nitisa/Modules/AI/Activators.h