microsoft / onnxruntime-extensions

onnxruntime-extensions: A specialized pre- and post- processing library for ONNX Runtime
MIT License
295 stars 80 forks source link

add move constructor and Release API for tensor #717

Closed souptc closed 1 month ago

souptc commented 1 month ago
  1. Add move constructor,
  2. Disable copy constructor
  3. Add Release API so in pytorch integration we can transfer the tensor ownership to torch tensor.