| AIfES 2 2.0.0

aimath_u8.h
Go to the documentation of this file.
1
73 #ifndef AIMATH_U8
74 #define AIMATH_U8
75
76 #include "core/aifes_math.h"
77 #include "basic/base/aimath/aimath_basic.h"
78
84 #define AITENSOR_2D_U8(shape, data) {aiu8, 2, shape, 0, data}
85
86 typedef uint8_t aiscalar_u8_t;
87
98 void aimath_u8_print_aitensor(const aitensor_t *tensor);
99
110 void aimath_u8_print_aiscalar(const void *scalar);
111
116 extern const aimath_dtype_t *aiu8;
117
118 #endif // AIMATH_U8
119
aifes_math.h
AIfES 2 math interface.
aimath_basic.h
Basic data-type independent math operations.
aiu8
const aimath_dtype_t * aiu8
The U8 data-type indicator.
aimath_u8_print_aitensor
void aimath_u8_print_aitensor(const aitensor_t *tensor)
Printing a U8 tensor to console.
aimath_u8_print_aiscalar
void aimath_u8_print_aiscalar(const void *scalar)
Printing a U8 scalar to console.
aimath_dtype
Indicator for the used datatype.
Definition: aifes_math.h:44
aitensor
A tensor in AIfES.
Definition: aifes_math.h:89