Back to Aurora Vision Deep Learning website

You are here: Start » Computer Vision » Deep Learning » DL_SegmentInstances_Unload

DL_SegmentInstances_Unload


Header: AVLDL.h
Namespace: avl
Module: DL_IS

Unloads a deep learning model and frees allocated memory.

Syntax

void avl::DL_SegmentInstances_Unload
(
	const avl::SegmentInstancesModelId& inModelId,
	const bool inLeaveForRedeploy
)

Parameters

Name Type Default Description
Input value inModelId const SegmentInstancesModelId& Identifier of the deployed model
Input value inLeaveForRedeploy const bool True Do not unload the model completely to speed up redeploying the model in future. All allocated memory on device will be freed regardless, but it will not free allocated system memory.