pub fn constrain<T>( thread_pool: &mut Pool, train_data: &mut Vec<TrainDatum<T>>, output_file_path: &Path, enables_randinit: bool, learning_tolerance: f32, )where T: HashIndex,