35 bool const_hess{
false};
36 bool zero_hess{
false};
39 ObjInfo(Task t,
bool khess,
bool zhess) : task{t}, const_hess{khess}, zero_hess(zhess) {}
Copyright 2015-2023 by XGBoost Contributors.
#define XGBOOST_DEVICE
Tag function as usable by device.
Definition base.h:64
namespace of xgboost
Definition base.h:90
A struct returned by objective, which determines task at hand. The struct is not used by any algorith...
Definition task.h:24
XGBOOST_DEVICE bool UpdateTreeLeaf() const
Use adaptive tree if the objective doesn't have valid hessian value.
Definition task.h:44