Back to Aurora Vision Deep Learning website

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

DL_SegmentInstances_Deploy


Header: AVLDL.h
Namespace: avl
Module: DL_IS

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

Syntax

void avl::DL_SegmentInstances_Deploy
(
	const avl::SegmentInstancesModelDirectory& inModelDirectory,
	const atl::Optional<avl::DeviceKind::Type>& inDeviceType,
	const int inDeviceIndex,
	const atl::Optional<int>& inMaxObjectsCountHint,
	avl::SegmentInstancesModelId& outModelId
)

Parameters

Name Type Range Default Description
Input value inModelDirectory const SegmentInstancesModelDirectory& A Segment Instances model stored in a specific disk directory.
Input value inDeviceType const Optional<DeviceKind::Type>& NIL 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.
Input value inDeviceIndex const int 0 - 0 An index of a device selected for deploying and executing the model.
Input value inMaxObjectsCountHint const Optional<int>& NIL Prepares the model for an execution with specific inMaxObjectsCount
Output value outModelId SegmentInstancesModelId& Identifier of the deployed model