-
Notifications
You must be signed in to change notification settings - Fork 3.5k
[EP ABI] Support for TENSOR type attribute #25566
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can commit the suggested changes from lintrunner.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can commit the suggested changes from lintrunner.
Made the API return a newly create OrtValue, and caller now owns it and have to manually clean up by ReleaseValue or use Ort::Value. |
Description
Add a new
Node_GetTensorAttributeAsOrtValue
API to support attribute that is aTENSOR
type.This API returns a newly created OrtValue that represents the TensorProto in the
TENSOR
attribute, caller now owns it and needs to be cleaned up by ValueRelease or use Ort::Value.