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
7db5d16e
Commit
7db5d16e
authored
Dec 18, 2017
by
Denny Mattern
Browse files
remove duplicated if clause
parent
6fb9f07c
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 @
7db5d16e
...
@@ -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