MCPcopy Create free account
hub / github.com/davisking/dlib / set_cache_size

Function set_cache_size

tools/python/src/svm_c_trainer.cpp:39–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37
38template <typename trainer_type>
39void set_cache_size ( trainer_type& trainer, long cache_size)
40{
41 pyassert(cache_size > 0, "cache size must be > 0");
42 trainer.set_cache_size(cache_size);
43}
44
45template <typename trainer_type>
46long get_cache_size ( const trainer_type& trainer) { return trainer.get_cache_size(); }

Callers

nothing calls this directly

Calls 1

set_cache_sizeMethod · 0.45

Tested by

no test coverage detected