Public Member Functions | Public Attributes | List of all members
xgboost::BatchParam Struct Reference

Parameters for constructing batches. More...

#include <data.h>

Collaboration diagram for xgboost::BatchParam:
Collaboration graph

Public Member Functions

 BatchParam ()=default
 BatchParam (int32_t device, int32_t max_bin, size_t gpu_page_size=0)
bool operator!= (const BatchParam &other) const

Public Attributes

int gpu_id
 The GPU device to use. More...
int max_bin {0}
 Maximum number of bins per feature for histograms. More...
size_t gpu_page_size
 Page size for external memory mode. More...

Detailed Description

Parameters for constructing batches.

Constructor & Destructor Documentation

◆ BatchParam() [1/2]

xgboost::BatchParam::BatchParam ( )

◆ BatchParam() [2/2]

xgboost::BatchParam::BatchParam ( int32_t  device,
int32_t  max_bin,
size_t  gpu_page_size = 0 

Member Function Documentation

◆ operator!=()

bool xgboost::BatchParam::operator!= ( const BatchParam other) const

Member Data Documentation

◆ gpu_id

int xgboost::BatchParam::gpu_id

The GPU device to use.

◆ gpu_page_size

size_t xgboost::BatchParam::gpu_page_size

Page size for external memory mode.

◆ max_bin

int xgboost::BatchParam::max_bin {0}

Maximum number of bins per feature for histograms.

The documentation for this struct was generated from the following file: