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
da9f14df
Unverified
Commit
da9f14df
authored
Oct 20, 2020
by
ZenoTan
Committed by
GitHub
Oct 19, 2020
Browse files
Fix typos (#2285)
parent
7b972981
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
python/dgl/frame.py
python/dgl/frame.py
+2
-2
No files found.
python/dgl/frame.py
View file @
da9f14df
...
...
@@ -168,7 +168,7 @@ class Column(object):
Tensor
The feature data
"""
return
F
.
gather_row
(
self
.
data
,
r
w
oids
)
return
F
.
gather_row
(
self
.
data
,
ro
w
ids
)
def
__setitem__
(
self
,
rowids
,
feats
):
"""Update the feature data given the index.
...
...
@@ -183,7 +183,7 @@ class Column(object):
feats : Tensor
New features.
"""
self
.
update
(
id
x
,
feats
)
self
.
update
(
row
id
s
,
feats
)
def
update
(
self
,
rowids
,
feats
):
"""Update the feature data given the index.
...
...
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