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
ef2c346f
Commit
ef2c346f
authored
Jul 30, 2018
by
rusty1s
Browse files
removed test file
parent
06933f89
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
12 deletions
+0
-12
backprop.py
backprop.py
+0
-12
No files found.
backprop.py
deleted
100644 → 0
View file @
06933f89
import
torch
from
torch.autograd
import
Variable
size
=
torch
.
Size
([
2
,
2
])
index
=
torch
.
tensor
([[
0
,
1
],
[
1
,
0
]],
dtype
=
torch
.
long
).
cuda
()
value
=
torch
.
tensor
([
1
,
1
],
dtype
=
torch
.
float
).
cuda
()
A
=
torch
.
cuda
.
sparse
.
FloatTensor
(
index
,
value
,
size
)
index
=
torch
.
tensor
([[
0
,
1
],
[
0
,
1
]],
dtype
=
torch
.
long
)
value
=
torch
.
tensor
([
1
,
1
],
dtype
=
torch
.
float
)
B
=
torch
.
sparse
.
FloatTensor
(
index
,
value
,
size
)
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