How to copy Ort::Value in c++? #11871
Answered
by
RyanUnderhill
seungtaek94
asked this question in
Other Q&A
-
Hi. I want to copy But I dont know how to do that right way.
|
Beta Was this translation helpful? Give feedback.
Answered by
RyanUnderhill
Jul 6, 2022
Replies: 1 comment 4 replies
-
There's no current way to copy an Ort::Value, but I'm curious why you'd want to? The next best thing if it's a tensor would be to just create a new one with the data from the original one. |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
seungtaek94
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There's no current way to copy an Ort::Value, but I'm curious why you'd want to?
The next best thing if it's a tensor would be to just create a new one with the data from the original one.