You are here: Start » DLInvoke.DL_DetectAnomalies2_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_DetectAnomalies2_Deploy ( string inModelDirectory, Optional<Avl.DeviceKind> inDeviceType, int inDeviceIndex, Avl.DetectAnomalies2ModelId outModelId )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inModelDirectory | string | A Detect Anomalies 2 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. | ||
![]() | outModelId | Avl.DetectAnomalies2ModelId | Identifier of the deployed model. |