AIfES 2  2.0.0
aifes_basic.h
Go to the documentation of this file.
1 
24 // Include AIfES core headers
25 #include "core/aifes_math.h"
26 #include "core/aifes_core.h"
27 
28 #ifdef __cplusplus
29 extern "C" {
30 #endif
31 
32 // Include the datatypes
37 
38 // Include basic datatype independent math functions
40 
41 // ---------------------------- Module base implementations -----------------------
42 // ("abstract" super "classes". A hardware optimized implementation can "inherit" from these modules)
43 
44 // Include the layer base implementations
54 
55 // Include the loss base implementations
58 
59 // Include the optimizer base implementations
62 
63 // ---------------------------- Module default implementations -----------------------
64 // (Fallback functions if no hardware optimized implementation available)
65 
66 // Include the math in default implementation
70 
71 // Include the layers in default implementation
81 
82 // Include the losses in default implementation
85 
86 // Include the optimizers in default implementation
89 
90 // ---------------------------- Algorithmic -----------------------
91 
92 // Include the algorithmic
95 
96 // ---------------------------- AIfES express -----------------------
97 
98 // Include AIfES express functions (high level api)
99 
102 
103 
104 #ifdef __cplusplus
105 } // End extern "C"
106 #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 .