clear_train_data_variation_model — Free the memory of the training data of a variation model.
clear_train_data_variation_model( : : ModelID : )
clear_train_data_variation_model frees the memory of a
variation model that was created by
clear_train_data_variation_model can be used to reduce the
amount of memory required for the variation model (in main memory as
well as when writing the model to file with
clear_train_data_variation_model can only be called if the
model has been prepared for comparison with an image with
prepare_variation_model. After the call to
clear_train_data_variation_model the variation model can
only be used for image comparision with
compare_ext_variation_model. The model cannot be trained
any further. Furthermore, the images used for the image comparison
can no longer be read with
get_variation_model. If they are
get_variation_model must be called before
clear_train_data_variation_model is called.
This operator modifies the state of the following input parameter:
During execution of this operator, access to the value of this parameter must be synchronized if it is used across multiple threads.
ModelID(input_control, state is modified) variation_model
ID of the variation model.
clear_train_data_variation_model returns 2 (H_MSG_TRUE) if all
parameters are correct.