diff --git a/onnxruntime/src/session.rs b/onnxruntime/src/session.rs index 56a4c13a..2cef12e5 100644 --- a/onnxruntime/src/session.rs +++ b/onnxruntime/src/session.rs @@ -235,7 +235,7 @@ impl SessionBuilder { /// Load an ONNX graph from memory and commit the session pub fn with_model_from_memory(self, model_bytes: B) -> Result where - B: AsRef<[u8]> + B: AsRef<[u8]>, { self.with_model_from_memory_monomorphized(model_bytes.as_ref()) }