29#ifndef AILOSS_CROSSENTROPY_DEFAULT
30#define AILOSS_CROSSENTROPY_DEFAULT
Base loss implementation of the Cross-Entropy loss.
ailoss_t * ailoss_crossentropy_f32_default(ailoss_crossentropy_f32_t *loss, ailayer_t *input_layer)
Initializes and connect a Cross-Entropy loss with the F32 default implementation.
ailoss_t * ailoss_crossentropy_sparse8_f32_default(ailoss_crossentropy_f32_t *loss, ailayer_t *input_layer)
Initializes and connect a Cross-Entropy loss with the F32 default implementation for sparse labels.
Math functions for F32 data type, default implementation.
Math functions for Q7 data type, default implementation.
AIfES layer interface.
Definition: aifes_core.h:252
General Cross-Entropy loss struct.
Definition: ailoss_crossentropy.h:65
AIfES loss interface.
Definition: aifes_core.h:358