python-memoization icon indicating copy to clipboard operation
python-memoization copied to clipboard

Switch ON/OFF programatically ?

Open vsraptor opened this issue 4 years ago • 0 comments

Is there some way to Switch ON/OFF programatically the cache ?

I have a scenario where I have the following logic :

 train() - cycle
 batch predict() - cycle
 predict()

I want to be able to switch memorization ON for batch-predict() cycle, but be OFF otherwise ?

vsraptor avatar Nov 30 '19 17:11 vsraptor