We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
As of 42def76, the ndarray::Array input ownership is transferred to Session::run().
ndarray::Array
Session::run()
onnxruntime-rs/onnxruntime/src/session.rs
Line 195 in 42def76
This means the input is dropped at the end of the inference. Would it be possible to pass a reference instead so that the input can be reused?
The text was updated successfully, but these errors were encountered:
That's the first two things I was wondering about when looking at .run() signature:
.run()
&[Array]
impl Iterator<Array>
Sorry, something went wrong.
No branches or pull requests
As of 42def76, the
ndarray::Array
input ownership is transferred toSession::run()
.onnxruntime-rs/onnxruntime/src/session.rs
Line 195 in 42def76
This means the input is dropped at the end of the inference. Would it be possible to pass a reference instead so that the input can be reused?
The text was updated successfully, but these errors were encountered: