Function xgboost_sys::XGBoosterGetModelRaw
source · pub unsafe extern "C" fn XGBoosterGetModelRaw(
handle: BoosterHandle,
out_len: *mut bst_ulong,
out_dptr: *mut *const c_char
) -> c_int
Expand description
\brief save model into binary raw bytes, return header of the array user must copy the result out, before next xgboost call \param handle handle \param out_len the argument to hold the output length \param out_dptr the argument to hold the output data pointer \return 0 when success, -1 when failure happens