AIfES 2  2.0.0
aimath_f32.h
Go to the documentation of this file.
1 
67 #ifndef AIMATH_F32
68 #define AIMATH_F32
69 
70 #include "core/aifes_math.h"
72 
78 #define AITENSOR_2D_F32(shape, data) {aif32, 2, shape, 0, data}
79 
101 typedef float aiscalar_f32_t;
102 
114 
126 void aimath_f32_print_aiscalar(const void *scalar, int (*print)(const char *format, ...));
127 
132 extern const aimath_dtype_t *aif32;
133 
134 #endif // AIMATH_F32
AIfES 2 math interface.
Basic data-type independent math operations.
const aimath_dtype_t * aif32
The F32 data-type indicator.
void aimath_f32_print_aitensor(const aitensor_t *tensor)
Printing a F32 tensor to console.
void aimath_f32_print_aiscalar(const void *scalar, int(*print)(const char *format,...))
Printing a F32 scalar to console.
float aiscalar_f32_t
Scalar for F32 (aif32) data-type.
Definition: aimath_f32.h:101
Indicator for the used datatype.
Definition: aifes_math.h:53
A tensor in AIfES.
Definition: aifes_math.h:98