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
a2528a02
Commit
a2528a02
authored
Dec 23, 2019
by
rusty1s
Browse files
typo
parent
342e4ce4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
torch_sparse/storage.py
torch_sparse/storage.py
+3
-3
No files found.
torch_sparse/storage.py
View file @
a2528a02
...
...
@@ -4,15 +4,15 @@ import torch
import
torch_scatter
from
torch_scatter
import
scatter_add
,
segment_add
__cache_
flag_
_
=
{
'enabled'
:
True
}
__cache__
=
{
'enabled'
:
True
}
def
is_cache_enabled
():
return
__cache_
flag_
_
[
'enabled'
]
return
__cache__
[
'enabled'
]
def
set_cache_enabled
(
mode
):
__cache_
flag_
_
[
'enabled'
]
=
mode
__cache__
[
'enabled'
]
=
mode
class
no_cache
(
object
):
...
...
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