DL_CleanDevice


Module: DeepLearning

Frees memory allocated for executing a models on a specific device.

Name Type Description
Input value
inDeviceType DeviceType* A type of a device selected for the cleanup. If not set, device depending on version (CPU/GPU) of installed Deep Learning Add-on is selected.

Description

This filter frees memory allocated for executing models on specific device. It will not free memory allocated for models (mostly weights). Use this filter only if there is a risk of out-of-memory errors. Please note that calls to subsequent Deep Learning filter may execute much longer than usual.

Hints

In most cases, it is best to call this filter after processing exceptionally huge image or after finishing usage of specific model.

Complexity Level

This filter is available on Advanced Complexity Level.

Disabled in Lite Edition

This filter is disabled in Lite Edition. It is available only in full, Adaptive Vision Studio Professional version.