pub fn load_model_bytes(bytes: &[u8]) -> Result<Graph, LoaderError>Expand description
Load a model from an in-memory protobuf buffer, producing a Graph.
External initializer data (if any) is resolved relative to the current working directory.
ยงNote on external weights
Same caveat as load_model: external weight bytes are not accessible
from the returned Graph alone. Use load_model_bytes_with_weights to
keep them live.