void aimath_transpose_vector(aitensor_t *vector)
Transposes a vector.
uint32_t aimath_sizeof_tensor(const aitensor_t *tensor)
Returns size of tensor in bytes.
void print_aiscalar(const void *scalar, const aimath_dtype_t *dtype)
Printing a scalar to console.
void print_aitensor(const aitensor_t *tensor)
Printing a tensor to console.
uint32_t aimath_sizeof_dtype(const aimath_dtype_t *dtype)
Returns the size of one value in the given data type in bytes.
uint32_t aimath_sizeof_tensor_data(const aitensor_t *tensor)
Returns size of the data array of the tensor in bytes.
uint32_t aimath_tensor_elements(const aitensor_t *tensor)
Calculates the number of elements in a tensor.
uint32_t aimath_sizeof_tensor_params(const aitensor_t *tensor)
Returns size of the aitensor.tensor_params for the data type of the tensor.
Indicator for the used datatype.
Definition: aifes_math.h:44
A tensor in AIfES.
Definition: aifes_math.h:89