
FisFilter_DL_LocateObjects_Deploy
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | DL_LO |
Loads a deep learning model and prepares its execution on a specific target device.
Syntax
void fil::FisFilter_DL_LocateObjects_Deploy ( const fil::LocateObjectsModelDirectory& inModelDirectory, const ftl::Optional<fil::DeviceKind::Type>& inDeviceType, const int inDeviceIndex, const ftl::Optional<fil::Size>& inInputSizeHint, fil::LocateObjectsModelId& outModelId )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() |
inModelDirectory | const LocateObjectsModelDirectory& | A Locate Objects model stored in a specific disk directory. | ||
![]() |
inDeviceType | const Optional<DeviceKind::Type>& | NIL | 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. | |
![]() |
inDeviceIndex | const int | 0 - ![]() |
0 | An index of a device selected for deploying and executing the model. |
![]() |
inInputSizeHint | const Optional<Size>& | NIL | Prepares the model for an execution with a given maximum input size (image size or a size of a roi bounding box) in advance | |
![]() |
outModelId | LocateObjectsModelId& | Identifier of the deployed model |