Commit a2528a02 authored by rusty1s's avatar rusty1s
Browse files

typo

parent 342e4ce4
...@@ -4,15 +4,15 @@ import torch ...@@ -4,15 +4,15 @@ import torch
import torch_scatter import torch_scatter
from torch_scatter import scatter_add, segment_add from torch_scatter import scatter_add, segment_add
__cache_flag__ = {'enabled': True} __cache__ = {'enabled': True}
def is_cache_enabled(): def is_cache_enabled():
return __cache_flag__['enabled'] return __cache__['enabled']
def set_cache_enabled(mode): def set_cache_enabled(mode):
__cache_flag__['enabled'] = mode __cache__['enabled'] = mode
class no_cache(object): class no_cache(object):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment