-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable caching of model specific test predictions (#200)
* add id, set_cache(), get_cache() to Test class; add use_cache decorator to store test results * combine disk and memory cache handling in set_cache and get_cache helper functions in backend * improve use_backend_cache decorator * handling exception for wrong cache_key_param * rm trailing comma in imports * fix syntax error * fix syntax error * fix syntax error * fix type error * avoid printing model in decorator * include overarching unittest of cache decorator Co-authored-by: morales-gregorio <aitormorales95@gmail.com>
- Loading branch information
1 parent
ffa380b
commit fcc04b6
Showing
4 changed files
with
233 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters