xgboost
Classes | Namespaces | Macros
linear_updater.h File Reference
#include <dmlc/registry.h>
#include <xgboost/base.h>
#include <xgboost/data.h>
#include <xgboost/host_device_vector.h>
#include <xgboost/model.h>
#include <functional>
#include <string>
#include <utility>
#include <vector>
Include dependency graph for linear_updater.h:

Go to the source code of this file.

Classes

class  xgboost::LinearUpdater
 interface of linear updater More...
 
struct  xgboost::LinearUpdaterReg
 Registry entry for linear updater. More...
 

Namespaces

 xgboost
 namespace of xgboost
 
 xgboost::gbm
 

Macros

#define XGBOOST_REGISTER_LINEAR_UPDATER(UniqueId, Name)
 Macro to register linear updater. More...
 

Macro Definition Documentation

◆ XGBOOST_REGISTER_LINEAR_UPDATER

#define XGBOOST_REGISTER_LINEAR_UPDATER (   UniqueId,
  Name 
)
Value:
static DMLC_ATTRIBUTE_UNUSED ::xgboost::LinearUpdaterReg& \
__make_##LinearUpdaterReg##_##UniqueId##__ = \
::dmlc::Registry< ::xgboost::LinearUpdaterReg>::Get()->__REGISTER__( \
Name)

Macro to register linear updater.