You are here: Start » DLInvoke.DL_DetectFeatures_Deploy
Loads a deep learning model and prepares its execution on a specific target device.
Namespace: | Fil |
---|---|
Assembly: | FilNet.DL.Cpu.dll |
Syntax
C++
C#
public static void DL_DetectFeatures_Deploy ( string inModelDirectory, Optional<Fil.DeviceKind> inDeviceType, int inDeviceIndex, Optional<Fil.Size> inInputSizeHint, Fil.DetectFeaturesModelId outModelId )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inModelDirectory | string | A Detect Features model stored in a specific disk directory. | ||
![]() | inDeviceType | Ftl.Optional<Fil.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: ftl::NIL. | ||
![]() | inDeviceIndex | int | An index of a device selected for deploying and executing the model. Default value: 0. | ||
![]() | inInputSizeHint | Ftl.Optional<Fil.Size> | Prepares the model for an execution with a given maximum input size (image size or a size of a roi bounding box) in advance. Default value: ftl::NIL. | ||
![]() | outModelId | Fil.DetectFeaturesModelId | Identifier of the deployed model. |