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