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
OpenDAS
dgl
Commits
8d50b34b
"git@developer.sourcefind.cn:OpenDAS/dgl.git" did not exist on "d873acc2545e5b73be75d0e18cedfe7163febf88"
Unverified
Commit
8d50b34b
authored
Sep 07, 2023
by
Rhett Ying
Committed by
GitHub
Sep 07, 2023
Browse files
[GraphBolt] remove print() from test case (#6299)
parent
ec495239
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
tests/python/pytorch/graphbolt/impl/test_negative_sampler.py
tests/python/pytorch/graphbolt/impl/test_negative_sampler.py
+0
-2
No files found.
tests/python/pytorch/graphbolt/impl/test_negative_sampler.py
View file @
8d50b34b
...
@@ -241,6 +241,4 @@ def test_NegativeSampler_Hetero_Data(format):
...
@@ -241,6 +241,4 @@ def test_NegativeSampler_Hetero_Data(format):
item_sampler
=
gb
.
ItemSampler
(
itemset
,
batch_size
=
2
)
item_sampler
=
gb
.
ItemSampler
(
itemset
,
batch_size
=
2
)
negative_dp
=
gb
.
UniformNegativeSampler
(
item_sampler
,
1
,
format
,
graph
)
negative_dp
=
gb
.
UniformNegativeSampler
(
item_sampler
,
1
,
format
,
graph
)
for
neg
in
negative_dp
:
print
(
neg
)
assert
len
(
list
(
negative_dp
))
==
5
assert
len
(
list
(
negative_dp
))
==
5
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