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
ccc1f89f
Unverified
Commit
ccc1f89f
authored
Sep 04, 2022
by
Scott Votaw
Committed by
GitHub
Sep 04, 2022
Browse files
Revert leftover debugging in streaming test (#5467)
parent
1d5f46f6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tests/cpp_tests/test_stream.cpp
tests/cpp_tests/test_stream.cpp
+1
-1
No files found.
tests/cpp_tests/test_stream.cpp
View file @
ccc1f89f
...
@@ -320,7 +320,7 @@ TEST(Stream, PushSparseRowsWithMetadata) {
...
@@ -320,7 +320,7 @@ TEST(Stream, PushSparseRowsWithMetadata) {
TestUtils
::
CreateRandomSparseData
(
nrows
,
ncols
,
nclasses
,
sparse_percent
,
&
indptr
,
&
indices
,
&
vals
,
&
labels
,
&
weights
,
&
init_scores
,
&
groups
);
TestUtils
::
CreateRandomSparseData
(
nrows
,
ncols
,
nclasses
,
sparse_percent
,
&
indptr
,
&
indices
,
&
vals
,
&
labels
,
&
weights
,
&
init_scores
,
&
groups
);
const
std
::
vector
<
int32_t
>
batch_counts
=
{
1
,
nrows
/
100
,
nrows
/
10
,
nrows
};
const
std
::
vector
<
int32_t
>
batch_counts
=
{
1
,
nrows
/
100
,
nrows
/
10
,
nrows
};
const
std
::
vector
<
int8_t
>
creation_types
=
{
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
};
const
std
::
vector
<
int8_t
>
creation_types
=
{
0
,
1
};
for
(
size_t
i
=
0
;
i
<
creation_types
.
size
();
++
i
)
{
// from sampled data or reference
for
(
size_t
i
=
0
;
i
<
creation_types
.
size
();
++
i
)
{
// from sampled data or reference
for
(
size_t
j
=
0
;
j
<
batch_counts
.
size
();
++
j
)
{
for
(
size_t
j
=
0
;
j
<
batch_counts
.
size
();
++
j
)
{
...
...
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