AIfES 2  2.0.0
aialgo_sequential_inference.h
Go to the documentation of this file.
1 
27 #ifndef AIALGO_SEQUENTIAL_INFERENCE
28 #define AIALGO_SEQUENTIAL_INFERENCE
29 
30 #include "core/aifes_core.h"
31 #include "core/aifes_math.h"
34 
45 
54 
64 uint8_t aialgo_schedule_inference_memory(aimodel_t *model, void *memory_ptr, uint32_t memory_size);
65 
78 void aialgo_distribute_parameter_memory(aimodel_t *model, void *memory_ptr, uint32_t memory_size);
79 
91 
129 
138 
144 
145 #endif // AIALGO_SEQUENTIAL_INFERENCE
void aialgo_distribute_parameter_memory(aimodel_t *model, void *memory_ptr, uint32_t memory_size)
Assign the memory for the trainable parameters (like weights, bias, ...) of the model.
void aialgo_print_model_structure(aimodel_t *model)
Print the layer structure of the model with the configured parameters.
uint8_t aialgo_compile_model(aimodel_t *model)
Initialize the model structure.
aitensor_t * aialgo_forward_model(aimodel_t *model, aitensor_t *input_data)
Perform a forward pass on the model.
uint8_t aialgo_schedule_inference_memory(aimodel_t *model, void *memory_ptr, uint32_t memory_size)
Assign the memory for intermediate results of an inference to the model.
uint32_t aialgo_sizeof_inference_memory(aimodel_t *model)
Calculate the memory requirements for intermediate results of an inference.
aitensor_t * aialgo_inference_model(aimodel_t *model, aitensor_t *input_data, aitensor_t *output_data)
Perform an inference on the model / Run the model.
uint32_t aialgo_sizeof_parameter_memory(aimodel_t *model)
Calculate the memory requirements for the trainable parameters (like weights, bias,...
AIfES 2 core interface.
AIfES 2 math interface.
Default implementation of the Dense layer .
Basic data-type independent math operations.
AIfES artificial neural network model.
Definition: aifes_core.h:180
A tensor in AIfES.
Definition: aifes_math.h:98