onnx_backend

Function onnx_backend 

Source
pub fn onnx_backend() -> &'static Option<String>
Expand description

KATAGLYPHIS_ONNX_BACKEND: "ort" / "onnxruntime" | "tract" | unset (auto).

Returns None when the variable is unset, signalling automatic backend selection. The returned reference is &'static so callers can use .as_deref() without allocation.