You are here: Start » DLInvoke.DL_LocateObjects_Deploy

DLInvoke.DL_LocateObjects_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_LocateObjects_Deploy
(
	string inModelDirectory,
	Optional<Fil.DeviceKind> inDeviceType,
	int inDeviceIndex,
	Optional<Fil.Size> inInputSizeHint,
	Fil.LocateObjectsModelId outModelId
)

Parameters

Name Type Range Default Description
inModelDirectorystringA Locate Objects model stored in a specific disk directory.
inDeviceTypeFtl.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.
inDeviceIndexintAn index of a device selected for deploying and executing the model. Default value: 0.
inInputSizeHintFtl.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.
outModelIdFil.LocateObjectsModelIdIdentifier of the deployed model.

See also