Skip to main content

load

Function load 

Source
pub fn load(path: impl AsRef<Path>) -> Result<InferenceSession, SessionError>
Expand description

Load a model. Auto-detects the best available hardware (§20.2).

This is the primary entry point — no configuration required.