Syntax
void sod_cnn_destroy(sod_cnn *pNet);
Description
Release the resources allocated to a sod_cnn object. This procedure must be called each time you have done working with a sod_cnn in order to avoid memory leaks.
Parameters
sod_cnn *pNet
A pointer to a valid sod_cnn object obtained from a prior successful call to sod_cnn_create().
Return Value
None.
Example
Checkout the introduction course, the C/C++ samples on the download page or refer to the SOD Github Repository.
See also
sod_cnn_create • sod_cnn_config • sod_cnn_predict • sod_cnn_get_network_size • sod_img_load_from_file • sod_cnn_prepare_image.