Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tianlh
LightGBM-DCU
Commits
fcd24535
Unverified
Commit
fcd24535
authored
May 05, 2021
by
Nikita Titov
Committed by
GitHub
May 04, 2021
Browse files
fix param name (#4253)
* fix param name * Update gpu_tree_learner.h * Update gbdt.h
parent
ec874325
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
src/boosting/gbdt.h
src/boosting/gbdt.h
+1
-1
src/treelearner/gpu_tree_learner.h
src/treelearner/gpu_tree_learner.h
+3
-3
No files found.
src/boosting/gbdt.h
View file @
fcd24535
...
...
@@ -141,7 +141,7 @@ class GBDT : public GBDTBase {
/*!
* \brief Training logic
* \param gradients nullptr for using default objective, otherwise use self-defined boosting
* \param
H
essians nullptr for using default objective, otherwise use self-defined boosting
* \param
h
essians nullptr for using default objective, otherwise use self-defined boosting
* \return True if cannot train any more
*/
bool
TrainOneIter
(
const
score_t
*
gradients
,
const
score_t
*
hessians
)
override
;
...
...
src/treelearner/gpu_tree_learner.h
View file @
fcd24535
...
...
@@ -138,11 +138,11 @@ class GPUTreeLearner: public SerialTreeLearner {
* Set to nullptr to skip copy to GPU.
* \param num_data Number of data examples to be included in histogram
* \param gradients Array of gradients for all examples.
* \param
H
essians Array of Hessians for all examples.
* \param
h
essians Array of Hessians for all examples.
* \param ordered_gradients Ordered gradients will be generated and copied to GPU when gradients is not nullptr,
* Set gradients to nullptr to skip copy to GPU.
* \param ordered_hessians Ordered Hessians will be generated and copied to GPU when
H
essians is not nullptr,
* Set
H
essians to nullptr to skip copy to GPU.
* \param ordered_hessians Ordered Hessians will be generated and copied to GPU when
h
essians is not nullptr,
* Set
h
essians to nullptr to skip copy to GPU.
* \return true if GPU kernel is launched, false if GPU is not used
*/
bool
ConstructGPUHistogramsAsync
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment