deserialize_dl_modelT_deserialize_dl_modelDeserializeDlModelDeserializeDlModel (Operator)
Name
deserialize_dl_modelT_deserialize_dl_modelDeserializeDlModelDeserializeDlModel
— Deserialize a deep learning model.
Signature
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
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
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