Remove XGBoosterGetModelRaw. (#9617)

Deprecated in 1.6.
This commit is contained in:
Jiaming Yuan
2023-09-29 02:29:33 +08:00
committed by GitHub
parent d95be1c38d
commit 4d7a187cb0
2 changed files with 0 additions and 32 deletions

View File

@@ -1258,15 +1258,6 @@ XGB_DLL int XGBoosterLoadModelFromBuffer(BoosterHandle handle,
XGB_DLL int XGBoosterSaveModelToBuffer(BoosterHandle handle, char const *config, bst_ulong *out_len,
char const **out_dptr);
/*!
* \brief Save booster to a buffer with in binary format.
*
* \deprecated since 1.6.0
* \see XGBoosterSaveModelToBuffer()
*/
XGB_DLL int XGBoosterGetModelRaw(BoosterHandle handle, bst_ulong *out_len,
const char **out_dptr);
/*!
* \brief Memory snapshot based serialization method. Saves everything states
* into buffer.