You are here: Start » DLInvoke.DL_LocateText_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_LocateText_Deploy ( Optional<string> inModelDirectory, Fil.LocateTextPretrainedModel inPretrainedModelType, Optional<Fil.DeviceKind> inDeviceType, int inDeviceIndex, Optional<Fil.LocateTextDeployHint> inExecutionHint, Fil.LocateTextModelId outModelId )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inModelDirectory | Ftl.Optional<string> | A Read Characters model stored in a specific disk directory. If not set, model is chosen on the basis of inPretrainedModelType. Default value: ftl::NIL. | ||
![]() | inPretrainedModelType | Fil.LocateTextPretrainedModel | |||
![]() | 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. Default value: ftl::NIL. | ||
![]() | inDeviceIndex | int | An index of a device selected for deploying and executing the model. Default value: 0. | ||
![]() | inExecutionHint | Ftl.Optional<Fil.LocateTextDeployHint> | |||
![]() | outModelId | Fil.LocateTextModelId | Identifier of the deployed model. |