| AIfES 2 2.0.0

Data Fields
aimodel Struct Reference

AIfES artificial neural network model. More...

`#include <aifes_core.h>`

## Data Fields
ailayer_t * | input_layer
| Input layer of the model that gets the input data.
ailayer_t * | output_layer
| Output layer of the model. More...
uint16_t | layer_count
| Total number of layers of the model (usually autogenerated).
uint16_t | trainable_params_count
| Total number of trainable parameter tensors.
ailoss_t * | loss
| The loss or cost function of the model (only for training).

## Detailed Description

AIfES artificial neural network model.

This structure holds the model structure and compute graph of the ANN. (Refer to aifes_core.h for a structural overview)
A aimodel contains several layers that are connected in a list or graph structure.
When the model should be trained, a loss function is required. Otherwise it can be set to NULL.

## Field Documentation

## ◆ output_layer

ailayer_t* output_layer

Output layer of the model.

The output of a forwad pass is available in the result tensor of this layer.

The documentation for this struct was generated from the following file:

- aifes_core.h