Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove const cast for DLManagedTensor (microsoft#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](microsoft#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. -->
- Loading branch information