Skip to content

[Draft] Add SetDataType method for Tensor objects #785

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

Draft
wants to merge 1 commit into
base: ovep-develop
Choose a base branch
from

Conversation

mklimenk
Copy link

After recent changes in upstream onnxruntime, changing data type of TensorProto object no longer works, since the resulting data type is gathered from an OrtValue.

This fix allows to work around this issue. Since it's a core portion of onnxruntime, it's pending approval from Microsoft and it might be a better idea to merge it directly rather than via OVEP release.

Keeping it as a draft PR for tracking purposes until the decision is made.

@mklimenk mklimenk changed the title Add SetDataType method for Tensor objects [Draft] Add SetDataType method for Tensor objects Aug 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant