def destroy(self): """ Destructs the training data Be sure to call this function after finished using the training data. """ libfann.fann_destroy_train(self.__train_data)
def __del__(self): libfann.fann_destroy_train(self.__train_data)