Skip to main content

has_cached_model

Function has_cached_model 

Source
pub fn has_cached_model(cache_dir: &Path, min_size_bytes: u64) -> bool
Expand description

True if cache_dir holds an .onnx file at least min_size_bytes in size (recursive scan). Encapsulates the model-cache layout so callers (e.g. ckg setup) don’t reimplement the walk.