Go to the documentation of this file. 13 #ifndef _TENSOR_UTIL_H 14 #define _TENSOR_UTIL_H 83 #endif //_TENSOR_UTIL_H
rockx_ret_t rockx_tensor_init_from_image(rockx_image_t *img, rockx_tensor_t *tensor)
int rockx_tensor_elems_num(rockx_tensor_t *tensor)
rockx_data_type
Data Type.
void write_tensor(const char *path, rockx_tensor_t *tensor)
rockx_ret_t
Return Value of RockX functions.
int rockx_tensor_dtype_size(rockx_data_type type)
rockx_ret_t rockx_tensor_clone(rockx_tensor_t *tensor, rockx_tensor_t *dst_tensor)
void rockx_tensor_dump(rockx_tensor_t *tensor)
int rockx_tensor_size(rockx_tensor_t *tensor)
rockx_ret_t rockx_tensor_release(rockx_tensor_t *tensor)