Operator Reference

clear_dl_classifier_train_resultT_clear_dl_classifier_train_resultClearDlClassifierTrainResultClearDlClassifierTrainResultclear_dl_classifier_train_result (Operator)

clear_dl_classifier_train_resultT_clear_dl_classifier_train_resultClearDlClassifierTrainResultClearDlClassifierTrainResultclear_dl_classifier_train_result — Clear the handle of a deep-learning-based classifier training result.

Warning

clear_dl_classifier_train_resultclear_dl_classifier_train_resultClearDlClassifierTrainResultClearDlClassifierTrainResultclear_dl_classifier_train_result is obsolete and is only provided for reasons of backward compatibility. The operator will be removed with HALCON 25.05.

Signature

clear_dl_classifier_train_result( : : DLClassifierTrainResultHandle : )

Herror T_clear_dl_classifier_train_result(const Htuple DLClassifierTrainResultHandle)

void ClearDlClassifierTrainResult(const HTuple& DLClassifierTrainResultHandle)

static void HDlClassifierTrainResult::ClearDlClassifierTrainResult(const HDlClassifierTrainResultArray& DLClassifierTrainResultHandle)

void HDlClassifierTrainResult::ClearDlClassifierTrainResult() const

static void HOperatorSet.ClearDlClassifierTrainResult(HTuple DLClassifierTrainResultHandle)

static void HDlClassifierTrainResult.ClearDlClassifierTrainResult(HDlClassifierTrainResult[] DLClassifierTrainResultHandle)

void HDlClassifierTrainResult.ClearDlClassifierTrainResult()

def clear_dl_classifier_train_result(dlclassifier_train_result_handle: MaybeSequence[HHandle]) -> None

Description

clear_dl_classifier_train_resultclear_dl_classifier_train_resultClearDlClassifierTrainResultClearDlClassifierTrainResultclear_dl_classifier_train_result clears an arbitrary number of training result handles DLClassifierTrainResultHandleDLClassifierTrainResultHandleDLClassifierTrainResultHandleDLClassifierTrainResultHandledlclassifier_train_result_handle of a deep-learning-based classifier. Each of these training result handles has previously been generated using train_dl_classifier_batchtrain_dl_classifier_batchTrainDlClassifierBatchTrainDlClassifierBatchtrain_dl_classifier_batch. All memory allocated in the handles is freed.

For an explanation of the concept of deep-learning-based classification see the introduction of chapter Deep Learning / Classification. The workflow involving this legacy operator is described in the chapter Legacy / DL Classification.

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

DLClassifierTrainResultHandleDLClassifierTrainResultHandleDLClassifierTrainResultHandleDLClassifierTrainResultHandledlclassifier_train_result_handle (input_control)  dl_classifier_train_result(-array) HDlClassifierTrainResult, HTupleMaybeSequence[HHandle]HTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the training results from the deep-learning-based classifier.

Result

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

Possible Predecessors

train_dl_classifier_batchtrain_dl_classifier_batchTrainDlClassifierBatchTrainDlClassifierBatchtrain_dl_classifier_batch, get_dl_classifier_train_resultget_dl_classifier_train_resultGetDlClassifierTrainResultGetDlClassifierTrainResultget_dl_classifier_train_result

Module

Deep Learning Professional