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
c264a410
Unverified
Commit
c264a410
authored
Apr 10, 2024
by
Mingbang Wang
Committed by
GitHub
Apr 10, 2024
Browse files
[Misc] rename a variable (#7260)
parent
0bd79a2b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
python/dgl/graphbolt/impl/ondisk_dataset.py
python/dgl/graphbolt/impl/ondisk_dataset.py
+3
-3
No files found.
python/dgl/graphbolt/impl/ondisk_dataset.py
View file @
c264a410
...
@@ -877,16 +877,16 @@ class OnDiskDataset(Dataset):
...
@@ -877,16 +877,16 @@ class OnDiskDataset(Dataset):
names
=
tuple
(
data
.
name
for
data
in
tvt_set
[
0
].
data
),
names
=
tuple
(
data
.
name
for
data
in
tvt_set
[
0
].
data
),
)
)
else
:
else
:
data
=
{}
itemsets
=
{}
for
tvt
in
tvt_set
:
for
tvt
in
tvt_set
:
data
[
tvt
.
type
]
=
ItemSet
(
itemsets
[
tvt
.
type
]
=
ItemSet
(
tuple
(
tuple
(
read_data
(
data
.
path
,
data
.
format
,
data
.
in_memory
)
read_data
(
data
.
path
,
data
.
format
,
data
.
in_memory
)
for
data
in
tvt
.
data
for
data
in
tvt
.
data
),
),
names
=
tuple
(
data
.
name
for
data
in
tvt
.
data
),
names
=
tuple
(
data
.
name
for
data
in
tvt
.
data
),
)
)
ret
=
ItemSetDict
(
data
)
ret
=
ItemSetDict
(
itemsets
)
return
ret
return
ret
def
_init_all_nodes_set
(
self
,
graph
)
->
Union
[
ItemSet
,
ItemSetDict
]:
def
_init_all_nodes_set
(
self
,
graph
)
->
Union
[
ItemSet
,
ItemSetDict
]:
...
...
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