Function loadnpy#
Defined in File fileio.h
Function Documentation#
-
void loadnpy(char *filename, void **data, uint8_t *ndim, uint64_t *shape)#
Loads a ‘.npy’ array to C format.
- Parameters:
filename – [in] String with the filename of to load. Must contain the path.
data – [out] Address of the pointer that will hold the data. Will be allocated in this function.
ndim – [out] Number of dimensions of the array.
shape – [out] Address to the pointer that will hold the array.