fann_sys::fann_save_train [] [src]

pub unsafe extern fn fann_save_train(data: *mut fann_train_data, filename: *const c_char) -> c_int

Save the training structure to a file, with the format specified in fann_read_train_from_file

Return

The function returns 0 on success and -1 on failure.

See also

fann_read_train_from_file, fann_save_train_to_fixed

This function appears in FANN >= 1.0.0.