pub fn validate_model_file( path: PathBuf, backend: &'static str, ) -> Result<PathBuf, SegmentationError>
The shared model validator, answering in this capability’s vocabulary.