WEAVER_Deploy


Header: AVLDL.h
Namespace: weaver
Module: DeepLearning

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

Syntax

void weaver::WEAVER_Deploy
(
	const atl::File& inModelFile,
	const atl::Optional<avl::DeviceType::Type>& inTargetDevice,
	const atl::Array<atl::Optional<avl::TensorDataOrdering::Type>>& inDesiredOutputOrders,
	avl::WeaverModelId& outModelId
)

Parameters

Name Type Default Description
inModelFile const File& A path to the model saved by Keras
inTargetDevice const Optional<DeviceType::Type>& NIL 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.
inDesiredOutputOrders const Array<Optional<TensorDataOrdering::Type>>& A required data order of the output tensors
outModelId WeaverModelId& Identifier of the deployed model