AIfES 2
2.0.0
|
Type indicator of the optimizer to check for the optimizer type. More...
#include <aifes_core.h>
Data Fields | |
const char * | name |
Name of the optimizer type (for example "ADAM") | |
void(* | print_specs )(const aiopti_t *self) |
Set a function to print specs of the optimizer. More... | |
Type indicator of the optimizer to check for the optimizer type.
Every optimizer should have a constant global variable of this type which indicates the optimizer type.
Example for the adam optimizer:
Checks for the optimizer type can look like this:
void(* print_specs) (const aiopti_t *self) |
Set a function to print specs of the optimizer.
This function should only be set in the debug mode when prints are required (to save memory otherwise)
self | The optimizer |
A function for printing (for example printf) |