Header: AVLDL.h
Namespace: weaver
Module: DeepLearning

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


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


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