You are here: Start » DLInvoke.DL_SegmentInstances_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_SegmentInstances_Deploy ( string inModelDirectory, Optional<Avl.DeviceKind> inDeviceType, int inDeviceIndex, Optional<int> inMaxObjectsCountHint, Avl.SegmentInstancesModelId outModelId )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() | inModelDirectory | string | A Segment Instances model stored in a specific disk directory. | ||
![]() | inDeviceType | Atl.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. | ||
![]() | inDeviceIndex | int | An index of a device selected for deploying and executing the model. Default value: 0. | ||
![]() | inMaxObjectsCountHint | Atl.Optional<int> | Prepares the model for an execution with specific inMaxObjectsCount. Default value: atl::NIL. | ||
![]() | outModelId | Avl.SegmentInstancesModelId | Identifier of the deployed model. |


