mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-09 20:12:38 +02:00
[caching] when reset
This commit is contained in:
parent
a717c03866
commit
457e00f058
1 changed files with 1 additions and 1 deletions
|
|
@ -119,7 +119,7 @@ class Cacher(object):
|
||||||
"""
|
"""
|
||||||
Totally reset the cache
|
Totally reset the cache
|
||||||
"""
|
"""
|
||||||
[a().remove_observer(self, self.on_cache_changed) if (a() is not None) else None for a in self.cached_input_ids.values()]
|
[a().remove_observer(self, self.on_cache_changed) if (a() is not None) else None for [a, _] in self.cached_input_ids.values()]
|
||||||
self.cached_input_ids = {}
|
self.cached_input_ids = {}
|
||||||
self.cached_outputs = {}
|
self.cached_outputs = {}
|
||||||
self.inputs_changed = {}
|
self.inputs_changed = {}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue