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
torch-sparse
Commits
6f55824d
"vscode:/vscode.git/clone" did not exist on "fc6acb6b97e93d58cb22b5fee52d884d77ce84d8"
Commit
6f55824d
authored
Jan 26, 2020
by
rusty1s
Browse files
typo
parent
8819288a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
torch_sparse/tensor.py
torch_sparse/tensor.py
+2
-2
No files found.
torch_sparse/tensor.py
View file @
6f55824d
...
...
@@ -418,10 +418,10 @@ class SparseTensor(object):
dim
+=
1
elif
item
==
Ellipsis
:
if
self
.
dim
()
-
len
(
index
)
<
dim
:
raise
SyntaxError
()
raise
SyntaxError
dim
=
self
.
dim
()
-
len
(
index
)
else
:
raise
SyntaxError
()
raise
SyntaxError
return
out
...
...
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