SOD C/C++ API - Convolutional/Recurrent Neural Networks (CNN/RNN)

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_createsod_cnn_configsod_cnn_predictsod_cnn_get_network_sizesod_img_load_from_filesod_cnn_prepare_image.


Back