onnxruntime
7e84ba0e - remove const cast for DLManagedTensor (#20015)

Commit
2 years ago
remove const cast for DLManagedTensor (#20015) ### Description <!-- Describe your changes. --> Removing const_cast as it might lead to unknown behavior. Specifying DLMangedTensor as a const doesn't seem to be necessary and I have tested this by running torch_ort.configure. Not sure what other tests which needs to be done. Background can be found in this [PR](https://github.com/microsoft/onnxruntime/pull/19982) ### Motivation and Context <!-- - Why is this change required? What problem does it solve? - If it fixes an open issue, please link to the issue here. -->
Author
Parents
Loading