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
SparseConvNet
Commits
994d0b7e
Unverified
Commit
994d0b7e
authored
Dec 18, 2017
by
Ben Graham
Committed by
GitHub
Dec 18, 2017
Browse files
Merge pull request #25 from dymat/fix_duplicated_if_statement
remove duplicated if clause
parents
6fb9f07c
7db5d16e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
PyTorch/sparseconvnet/utils.py
PyTorch/sparseconvnet/utils.py
+0
-2
No files found.
PyTorch/sparseconvnet/utils.py
View file @
994d0b7e
...
@@ -10,8 +10,6 @@ from cffi import FFI
...
@@ -10,8 +10,6 @@ from cffi import FFI
def
toLongTensor
(
dimension
,
x
):
def
toLongTensor
(
dimension
,
x
):
if
type
(
x
).
__name__
==
'LongTensor'
:
return
x
if
type
(
x
).
__name__
==
'LongTensor'
:
if
type
(
x
).
__name__
==
'LongTensor'
:
return
x
return
x
else
:
else
:
...
...
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