You are here: Start » DLInvoke.DL_ClassifyObject_Deploy

DLInvoke.DL_ClassifyObject_Deploy

Loads a deep learning model and prepares its execution on a specific target device.

Namespace:Avl
Assembly:AvlNet.DL.Cpu.dll

Syntax

C++
C#
 
public static void DL_ClassifyObject_Deploy
(
	string inModelDirectory,
	Optional<Avl.DeviceKind> inDeviceType,
	int inDeviceIndex,
	bool inCreateHeatmapHint,
	Avl.ClassifyObjectModelId outModelId
)

Parameters

Name Type Range Default Description
inModelDirectorystringA Classify Object model stored in a specific disk directory.
inDeviceTypeAtl.Optional<Avl.DeviceKind>A type of a device selected for deploying and executing the model. If not set, device depending on version (CPU/GPU) of installed Deep Learning add-on is selected. If not set, device depending on version (CPU/GPU) of installed Deep Learning add-on is selected. Default value: atl::NIL.
inDeviceIndexintAn index of a device selected for deploying and executing the model. Default value: 0.
inCreateHeatmapHintboolPrepares the model for a relevance heatmap creation in advance. Default value: False.
outModelIdAvl.ClassifyObjectModelIdIdentifier of the deployed model.

See also