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
c78f26ed
Commit
c78f26ed
authored
Aug 17, 2018
by
Ilya Matiach
Committed by
Guolin Ke
Aug 17, 2018
Browse files
fix error when using distributed quantile regression (#1593)
parent
c7b86f1d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
include/LightGBM/network.h
include/LightGBM/network.h
+1
-1
No files found.
include/LightGBM/network.h
View file @
c78f26ed
...
...
@@ -234,7 +234,7 @@ public:
template
<
class
T
>
static
void
GlobalSum
(
std
::
vector
<
T
>&
local
)
{
std
::
vector
<
T
>
global
;
std
::
vector
<
T
>
global
(
local
.
size
(),
0
)
;
Allreduce
(
reinterpret_cast
<
char
*>
(
local
.
data
()),
static_cast
<
comm_size_t
>
(
sizeof
(
T
)
*
local
.
size
()),
sizeof
(
T
),
reinterpret_cast
<
char
*>
(
global
.
data
()),
...
...
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