Skip to main content

load_onnx_file

Function load_onnx_file 

Source
pub fn load_onnx_file(
    path: &Path,
) -> Result<(Vec<u8>, OnnxFileMeta), OnnxLoadError>
Expand description

Load entire ONNX file into memory (cold path; weights stay outside NQuin).