27 #ifndef AIOPTI_ADAM_DEFAULT
28 #define AIOPTI_ADAM_DEFAULT
35 #define AIOPTI_ADAM_F32(learning_rate, beta1, beta2, eps) {{{0,},},learning_rate, beta1, beta2, eps}
36 #define AIOPTI_ADAM_Q31(learning_rate, beta1, beta2, eps) {{{0,},},learning_rate, beta1, beta2, eps}
float aiscalar_f32_t
Scalar for F32 (aif32) data-type.
Definition: aimath_f32.h:120
Math functions for F32 data type, default implementation.
Math functions for Q7 data type, default implementation.
Base optimizer implementation of the Adam optimizer
void aiopti_adam_f32_default_begin_step(aiopti_t *self)
F32 default implementation of the aiopti.begin_step function for ADAM
void aiopti_adam_f32_default_end_step(aiopti_t *self)
F32 default implementation of the aiopti.end_step function for ADAM
aiopti_t * aiopti_adam_f32_default(aiopti_adam_f32_t *opti)
Initializes an Adam optimizer with the F32 default implementation.
Data-type specific Adam optimizer struct for F32 .
Definition: aiopti_adam_default.h:45
aiscalar_f32_t one_minus_beta1
Storage for aiopti_adam.one_minus_beta1 scalar in F32.
Definition: aiopti_adam_default.h:68
aiscalar_f32_t lrt
Storage for aiopti_adam.lrt scalar in F32.
Definition: aiopti_adam_default.h:70
aiscalar_f32_t beta1
Storage for aiopti_adam.beta1 scalar in F32.
Definition: aiopti_adam_default.h:56
aiopti_adam_t base
Inherited field members from general optimizer struct.
Definition: aiopti_adam_default.h:46
aiscalar_f32_t one_minus_beta2
Storage for aiopti_adam.one_minus_beta2 scalar in F32.
Definition: aiopti_adam_default.h:69
aiscalar_f32_t beta2
Storage for aiopti_adam.beta2 scalar in F32.
Definition: aiopti_adam_default.h:57
aiscalar_f32_t learning_rate
Storage for aiopti.learning_rate scalar in F32.
Definition: aiopti_adam_default.h:54
aiscalar_f32_t beta2t
Storage for aiopti_adam.beta2t scalar in F32.
Definition: aiopti_adam_default.h:67
aiscalar_f32_t beta1t
Storage for aiopti_adam.beta1t scalar in F32.
Definition: aiopti_adam_default.h:66
aiscalar_f32_t eps
Storage for aiopti_adam.eps scalar in F32.
Definition: aiopti_adam_default.h:58
General Adam optimizer struct.
Definition: aiopti_adam.h:56
AIfES optimizer interface.
Definition: aifes_core.h:438