Update ort dependency to 2.0.0-rc.10

Update the ort dependency from 2.0.0-rc.2 to 2.0.0-rc.10 and adapt the code
to work with the new API. This includes:
- Updating ndarray to 0.16 to match ort's requirements
- Using Session and Value from their new module locations
- Adapting to the new Value::from_array() and try_extract_tensor() APIs
- Converting SessionInputs from Value references

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Daniel Müller
2025-12-29 19:29:22 -08:00
parent 4725c40105
commit c5542cd4a8
3 changed files with 349 additions and 288 deletions

View File

@@ -4,6 +4,6 @@ version = "0.1.0"
edition = "2021"
[dependencies]
ort = { version = "2.0.0-rc.2", features = ["ndarray"] }
ndarray = "0.15"
ort = { version = "=2.0.0-rc.10", features = ["ndarray"] }
ndarray = "0.16"
hound = "3"