write_dl_modelT_write_dl_modelWriteDlModelWriteDlModel (Operator)
Name
write_dl_modelT_write_dl_modelWriteDlModelWriteDlModel
— Write a deep learning model in a file.
Signature
Description
write_dl_modelwrite_dl_modelWriteDlModelWriteDlModelWriteDlModel
writes the deep learning model
DLModelHandleDLModelHandleDLModelHandleDLModelHandleDLModelHandle
to the file given by FileNameFileNameFileNameFileNamefileName
.
Please note that the runtime specific parameter gpugpugpugpugpu
is not
written.
The default HALCON file extension for deep learning models is
'.hdl'
.
The model can be read with 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
DLModelHandleDLModelHandleDLModelHandleDLModelHandleDLModelHandle
(input_control) dl_model →
HDlModel, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Handle of the deep learning model.
FileNameFileNameFileNameFileNamefileName
(input_control) filename.read →
HTupleHTupleHtuple (string) (string) (HString) (char*)
Filename
File extension: .hdl
Result
If the parameters are valid, the operator write_dl_modelwrite_dl_modelWriteDlModelWriteDlModelWriteDlModel
returns the value 2 (H_MSG_TRUE). If necessary, an exception is raised.
Possible Predecessors
read_dl_modelread_dl_modelReadDlModelReadDlModelReadDlModel
,
train_dl_model_batchtrain_dl_model_batchTrainDlModelBatchTrainDlModelBatchTrainDlModelBatch
,
set_dl_model_paramset_dl_model_paramSetDlModelParamSetDlModelParamSetDlModelParam
Module
Deep Learning Training