AIfES 2 2.0.0
aifes_basic.h
Go to the documentation of this file.
1
27#ifdef __cplusplus
28extern "C" {
29#endif
30
31
32// Include AIfES core headers
33#include "core/aifes_math.h"
34#include "core/aifes_core.h"
35
36// Include the datatypes
41
42// Include basic datatype independent math functions
44
45// ---------------------------- Module base implementations -----------------------
46// ("abstract" super "classes". A hardware optimized implementation can "inherit" from these modules)
47
48// Include the layer base implementations
58
59// Include the loss base implementations
62
63// Include the optimizer base implementations
66
67// ---------------------------- Module default implementations -----------------------
68// (Fallback functions if no hardware optimized implementation available)
69
70// Include the math in default implementation
74
75// Include the layers in default implementation
85
86// Include the losses in default implementation
89
90// Include the optimizers in default implementation
93
94
95// ---------------------------- Algorithmic -----------------------
96
97// Include the algorithmic
100
101// ---------------------------- AIfES express -----------------------
102
103// Include AIfES express functions (high level api)
104
107
108
109
110#ifdef __cplusplus
111} // End extern "C"
112#endif
Functions required for inference of models.
Functions required for the training of models.
AIfES 2 core interface.
AIfES Express functions for weights with F32 (float32) data type.
AIfES Express functions for weights with Q7 (int8) data type.
AIfES 2 math interface.
Base layer implementation of the Dense layer.
Default implementation of the Dense layer .
Base layer implementation of the ELU activation layer.
Default implementation of the ELU layer .
Base layer implementation of the Input layer.
Default implementation of the Input layer .
Base layer implementation of the Leaky ReLU activation layer.
Default implementation of the Leaky ReLU layer .
Base layer implementation of the ReLU activation layer.
Default implementation of the ReLU layer .
Base layer implementation of the Sigmoid activation layer.
Default implementation of the Sigmoid layer .
Base layer implementation of the Softmax activation layer.
Default implementation of the Softmax layer .
Base layer implementation of the Softsign activation layer.
Default implementation of the Softsign layer .
Base layer implementation of the Tanh activation layer.
Default implementation of the Tanh layer .
Base loss implementation of the Cross-Entropy loss.
Default implementation of the Cross-Entropy loss .
Base loss implementation of the Mean Squared Error (MSE) loss.
Default implementation of the Mean Squared Error loss .
Basic data-type independent math operations.
Definition of the F32 (aif32) data-type.
Math functions for F32 data type, default implementation.
Definition of the Q31 (aiq31) data-type.
Math functions for Q31 data type, default implementation.
Definition of the Q7 (aiq7) data-type.
Math functions for Q7 data type, default implementation.
Definition of the U8 (aiu8) data-type.
Base optimizer implementation of the Adam optimizer
Default implementation of the Adam optimizer .
Base optimizer implementation of the Stochastic Gradient Descent (with momentum) optimizer.
Default implementation of the Stochastic Gradient Descend optimizer .