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