Skip to content

How to copy Ort::Value in c++? #11871

Discussion options

You must be logged in to vote

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.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@seungtaek94
Comment options

@RyanUnderhill
Comment options

@seungtaek94
Comment options

@vincentme
Comment options

Answer selected by seungtaek94
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants