deserialize_dl_modelT_deserialize_dl_modelDeserializeDlModelDeserializeDlModel (Operator)

Name

deserialize_dl_modelT_deserialize_dl_modelDeserializeDlModelDeserializeDlModel — Deserialize a deep learning model.

Signature

deserialize_dl_model( : : SerializedItemHandle : DLModelHandle)

Herror T_deserialize_dl_model(const Htuple SerializedItemHandle, Htuple* DLModelHandle)

void DeserializeDlModel(const HTuple& SerializedItemHandle, HTuple* DLModelHandle)

void HDlModel::DeserializeDlModel(const HSerializedItem& SerializedItemHandle)

static void HOperatorSet.DeserializeDlModel(HTuple serializedItemHandle, out HTuple DLModelHandle)

void HDlModel.DeserializeDlModel(HSerializedItem serializedItemHandle)

Description

deserialize_dl_modeldeserialize_dl_modelDeserializeDlModelDeserializeDlModelDeserializeDlModel deserializes the deep learning model defined by the handle SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandle and previously serialized by serialize_dl_modelserialize_dl_modelSerializeDlModelSerializeDlModelSerializeDlModel.

The operator acts the same as read_dl_modelread_dl_modelReadDlModelReadDlModelReadDlModel except that the input is a serialized item instead of a file. For a detailed description please refer to the documentation of read_dl_modelread_dl_modelReadDlModelReadDlModelReadDlModel.

For further explanations to deep learning models in HALCON, see the chapter Deep Learning / Model.

Execution Information

Parameters

SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandle (input_control)  serialized_item HSerializedItem, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the serialized item.

DLModelHandleDLModelHandleDLModelHandleDLModelHandleDLModelHandle (output_control)  dl_model HDlModel, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the deep learning model.

Result

If the parameters are valid, the operator deserialize_dl_modeldeserialize_dl_modelDeserializeDlModelDeserializeDlModelDeserializeDlModel returns the value 2 (H_MSG_TRUE). If necessary, an exception is raised.

Possible Predecessors

fread_serialized_itemfread_serialized_itemFreadSerializedItemFreadSerializedItemFreadSerializedItem, receive_serialized_itemreceive_serialized_itemReceiveSerializedItemReceiveSerializedItemReceiveSerializedItem, serialize_dl_modelserialize_dl_modelSerializeDlModelSerializeDlModelSerializeDlModel

Possible Successors

apply_dl_modelapply_dl_modelApplyDlModelApplyDlModelApplyDlModel, train_dl_model_batchtrain_dl_model_batchTrainDlModelBatchTrainDlModelBatchTrainDlModelBatch, set_dl_model_paramset_dl_model_paramSetDlModelParamSetDlModelParamSetDlModelParam, get_dl_model_paramget_dl_model_paramGetDlModelParamGetDlModelParamGetDlModelParam

See also

serialize_dl_modelserialize_dl_modelSerializeDlModelSerializeDlModelSerializeDlModel

Module

Deep Learning Inference