[doc] Fix typo & format in C API documentation (#10350)

This commit is contained in:
Astariul 2024-05-31 00:14:42 +09:00 committed by GitHub
parent 324f2d4e4a
commit 0717e886e5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1265,13 +1265,11 @@ XGB_DLL int XGBoosterLoadModelFromBuffer(BoosterHandle handle,
* \param handle handle * \param handle handle
* \param config JSON encoded string storing parameters for the function. Following * \param config JSON encoded string storing parameters for the function. Following
* keys are expected in the JSON document: * keys are expected in the JSON document:
* * - "format": str
* "format": str
* - json: Output booster will be encoded as JSON. * - json: Output booster will be encoded as JSON.
* - ubj: Output booster will be encoded as Univeral binary 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 * - deprecated: Output booster will be encoded as old custom binary format. Do not use
* this format except for compatibility reasons. * this format except for compatibility reasons.
*
* \param out_len The argument to hold the output length * \param out_len The argument to hold the output length
* \param out_dptr The argument to hold the output data pointer * \param out_dptr The argument to hold the output data pointer
* *