ClassesClasses | | Operators

clear_training_componentsT_clear_training_componentsClearTrainingComponentsClearTrainingComponents (Operator)

Name

clear_training_componentsT_clear_training_componentsClearTrainingComponentsClearTrainingComponents — Free the memory of a component training result.

Signature

clear_training_components( : : ComponentTrainingID : )

Herror T_clear_training_components(const Htuple ComponentTrainingID)

void ClearTrainingComponents(const HTuple& ComponentTrainingID)

void HComponentTraining::ClearTrainingComponents() const

static void HOperatorSet.ClearTrainingComponents(HTuple componentTrainingID)

void HComponentTraining.ClearTrainingComponents()

Description

The operator clear_training_componentsclear_training_componentsClearTrainingComponentsClearTrainingComponentsClearTrainingComponents frees the memory of a training result that was created by train_model_componentstrain_model_componentsTrainModelComponentsTrainModelComponentsTrainModelComponents. After calling clear_training_componentsclear_training_componentsClearTrainingComponentsClearTrainingComponentsClearTrainingComponents, the training result can no longer be used. The handle ComponentTrainingIDComponentTrainingIDComponentTrainingIDComponentTrainingIDcomponentTrainingID becomes invalid.

Execution Information

This operator modifies the state of the following input parameter:

The value of this parameter may not be shared across multiple threads without external synchronization.

Parameters

ComponentTrainingIDComponentTrainingIDComponentTrainingIDComponentTrainingIDcomponentTrainingID (input_control, state is modified)  component_training HComponentTraining, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the training result.

Result

If the handle of the training result is valid, the operator clear_training_componentsclear_training_componentsClearTrainingComponentsClearTrainingComponentsClearTrainingComponents returns the value 2 (H_MSG_TRUE). If necessary, an exception is raised.

Possible Predecessors

train_model_componentstrain_model_componentsTrainModelComponentsTrainModelComponentsTrainModelComponents, write_training_componentswrite_training_componentsWriteTrainingComponentsWriteTrainingComponentsWriteTrainingComponents

Module

Matching


ClassesClasses | | Operators