Skip to content
New issue

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

How to use pre-allocated buffer in output ? #24518

Open
Jsy0220 opened this issue May 15, 2024 · 0 comments
Open

How to use pre-allocated buffer in output ? #24518

Jsy0220 opened this issue May 15, 2024 · 0 comments
Assignees
Labels
question Further information is requested

Comments

@Jsy0220
Copy link

Jsy0220 commented May 15, 2024

Hi, I tried to use pre-allocated buffer by set_output_tensor of InferRequest, but it seems not allowed Can't SetBlob with name: Clamp_1431, because model output and blob are incompatible..
The IR model I used has dynamic inputs and output. I used tool mo to convert it from onnx and load it in c++, try to set pre-allocated buffer for output tensor when inferencing but failed.
So what's the problem ?
Thanks

@ilya-lavrenov ilya-lavrenov added the question Further information is requested label May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants