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:AvlNet.DL.Cpu.dll

Syntax

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

Parameters

Name Type Range Default Description
inModelFilestringA path to the model saved by Keras.
inDeviceTypeAtl.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.
inDeviceIndexintAn index of a device selected for deploying and executing the model. Default value: 0.
inDesiredOutputOrdersSystem.Collections.Generic.List<Avl.TensorDataOrdering>A required data order of the output tensors.
outModelIdAvl.WeaverModelIdIdentifier of the deployed model.

See also