You are here: Start » 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 | |
---|---|---|---|---|---|
![]() | inModelFile | string | A path to the model saved by Keras. | ||
![]() | 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. | ||
![]() | inDesiredOutputOrders | System.Collections.Generic.List<Fil.TensorDataOrdering> | A required data order of the output tensors. | ||
![]() | outModelId | Fil.WeaverModelId | Identifier of the deployed model. |