onnxruntime/onnxruntime/python/torch_cpp_extensions
Abhishek Jindal 7e84ba0ea3
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. -->
2024-03-22 10:39:19 -07:00
..
aten_op_executor remove const cast for DLManagedTensor (#20015) 2024-03-22 10:39:19 -07:00
ort_torch_ext ATen Op Supports Int Return Type and CPU Tensor Arguments (#19773) 2024-03-06 10:11:46 +08:00
setup.py