[][src]Function lightgbm_sys::LGBM_NetworkInitWithFunctions

pub unsafe extern "C" fn LGBM_NetworkInitWithFunctions(
    num_machines: c_int,
    rank: c_int,
    reduce_scatter_ext_fun: *mut c_void,
    allgather_ext_fun: *mut c_void
) -> c_int

\brief Initialize the network with external collective functions. \param num_machines Total number of machines \param rank Rank of local machine \param reduce_scatter_ext_fun The external reduce-scatter function \param allgather_ext_fun The external allgather function \return 0 when succeed, -1 when failure happens