Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
krazijames committed Oct 30, 2020
1 parent d886107 commit da17267
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion onnxruntime/src/session.rs
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ impl SessionBuilder {
/// Load an ONNX graph from memory and commit the session
pub fn with_model_from_memory<B>(self, model_bytes: B) -> Result<Session>
where
B: AsRef<[u8]>
B: AsRef<[u8]>,
{
self.with_model_from_memory_monomorphized(model_bytes.as_ref())
}
Expand Down

0 comments on commit da17267

Please sign in to comment.