Skip to content

Commit

Permalink
add destructor
Browse files Browse the repository at this point in the history
  • Loading branch information
shiyu1994 committed Oct 10, 2024
1 parent bf54ad8 commit 7988c81
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/treelearner/gpu_linear_tree_learner.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ class GPULinearTreeLearner: public GPUTreeLearner {
public:
explicit GPULinearTreeLearner(const Config* config) : GPUTreeLearner(config) {}

~GPULinearTreeLearner() {}

void Init(const Dataset* train_data, bool is_constant_hessian) override;

void InitLinear(const Dataset* train_data, const int max_leaves) override;
Expand Down

0 comments on commit 7988c81

Please sign in to comment.