Skip to content

Commit

Permalink
[doc] Fix typo & format in C API documentation (#10350)
Browse files Browse the repository at this point in the history
  • Loading branch information
astariul authored May 30, 2024
1 parent 324f2d4 commit 0717e88
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions include/xgboost/c_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -1265,13 +1265,11 @@ XGB_DLL int XGBoosterLoadModelFromBuffer(BoosterHandle handle,
* \param handle handle
* \param config JSON encoded string storing parameters for the function. Following
* keys are expected in the JSON document:
*
* "format": str
* - json: Output booster will be encoded as JSON.
* - ubj: Output booster will be encoded as Univeral binary JSON.
* - deprecated: Output booster will be encoded as old custom binary format. Do not use
* this format except for compatibility reasons.
*
* - "format": str
* - json: Output booster will be encoded as JSON.
* - ubj: Output booster will be encoded as Universal binary JSON.
* - deprecated: Output booster will be encoded as old custom binary format. Do not use
* this format except for compatibility reasons.
* \param out_len The argument to hold the output length
* \param out_dptr The argument to hold the output data pointer
*
Expand Down

0 comments on commit 0717e88

Please sign in to comment.