You are here: Start » DLInvoke.WEAVER_DeployModel

DLInvoke.WEAVER_DeployModel

Loads a deep learning model and prepares its execution on a specific target device.

Namespace:Weaver
Assembly:FilNet.DL.Cpu.dll

Syntax

C++
C#
 
public static void WEAVER_DeployModel
(
	string inModelFile,
	Optional<Fil.DeviceKind> inDeviceType,
	int inDeviceIndex,
	List<Fil.TensorDataOrdering> inDesiredOutputOrders,
	Fil.WeaverModelId outModelId
)

Parameters

Name Type Range Default Description
inModelFilestringA path to the model saved by Keras.
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.
inDesiredOutputOrdersSystem.Collections.Generic.List<Fil.TensorDataOrdering>A required data order of the output tensors.
outModelIdFil.WeaverModelIdIdentifier of the deployed model.

See also