-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Open
Labels
apiissues related to all other APIs: C, C++, Python, etc.issues related to all other APIs: C, C++, Python, etc.feature requestrequest for unsupported feature or enhancementrequest for unsupported feature or enhancementpythonPull requests that update Python codePull requests that update Python code
Description
Describe the feature request
For a pythonic type conversion and data sharing user experience.
Describe scenario use case
DLPack has been enabled in #23110.
- We should expose it in the
onnxruntime.OrtValue
class and allowfrom_dlpack
to call__dlpack__
on source tensors automatically. - We should remove the is_bool argument by upgrading dlpack version.
Similarly, we should also implement https://numpy.org/devdocs/user/basics.interoperability.html to modernize the class.
Metadata
Metadata
Assignees
Labels
apiissues related to all other APIs: C, C++, Python, etc.issues related to all other APIs: C, C++, Python, etc.feature requestrequest for unsupported feature or enhancementrequest for unsupported feature or enhancementpythonPull requests that update Python codePull requests that update Python code