#include <generic_parameters.h>
◆ CheckDeprecated()
void xgboost::GenericParameter::CheckDeprecated |
( |
| ) |
|
|
inline |
◆ ConfigureGpuId()
void xgboost::GenericParameter::ConfigureGpuId |
( |
bool |
require_gpu | ) |
|
Configure the parameter ‘gpu_id’.
- Parameters
-
require_gpu | Whether GPU is explicitly required from user. |
◆ DMLC_DECLARE_PARAMETER()
◆ fail_on_invalid_gpu_id
bool xgboost::GenericParameter::fail_on_invalid_gpu_id {false} |
◆ gpu_id
int xgboost::GenericParameter::gpu_id |
◆ gpu_page_size
size_t xgboost::GenericParameter::gpu_page_size |
◆ kCpuId
constexpr int32_t xgboost::GenericParameter::kCpuId = -1 |
|
staticconstexpr |
◆ kDefaultSeed
constexpr int64_t xgboost::GenericParameter::kDefaultSeed = 0 |
|
staticconstexpr |
◆ nthread
int xgboost::GenericParameter::nthread |
◆ seed
◆ seed_per_iteration
bool xgboost::GenericParameter::seed_per_iteration |
◆ validate_parameters
bool xgboost::GenericParameter::validate_parameters {false} |
The documentation for this struct was generated from the following file: