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
3dbd2282
"git@developer.sourcefind.cn:OpenDAS/ollama.git" did not exist on "cd234ce22c85bf34dc50b05c93c4dab513ae8f99"
Commit
3dbd2282
authored
Aug 15, 2021
by
rusty1s
Browse files
typo
parent
ec7c59f0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
torch_sparse/tensor.py
torch_sparse/tensor.py
+1
-0
No files found.
torch_sparse/tensor.py
View file @
3dbd2282
...
@@ -435,6 +435,7 @@ class SparseTensor(object):
...
@@ -435,6 +435,7 @@ class SparseTensor(object):
def
share_memory_
(
self
:
SparseTensor
)
->
SparseTensor
:
def
share_memory_
(
self
:
SparseTensor
)
->
SparseTensor
:
self
.
storage
.
share_memory_
()
self
.
storage
.
share_memory_
()
return
self
def
is_shared
(
self
:
SparseTensor
)
->
bool
:
def
is_shared
(
self
:
SparseTensor
)
->
bool
:
...
...
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