fix(web): dynamic dimensions in metadata (#521)

Fixes the following runtime panic:

```
backends/web/binding/session.rs:151:14:
called `Result::unwrap()` on an `Err` value: Error(JsValue(Error: data did not match any variant of untagged enum ShapeElement
Error: data did not match any variant of untagged enum ShapeElement
```
This commit is contained in:
Alfred Mathew
2026-01-26 19:00:10 +04:00
committed by GitHub
parent 9d68b9a149
commit 9733fdd131

View File

@@ -211,7 +211,7 @@ impl InferenceSession {
#[serde(untagged)]
pub enum ShapeElement {
Named(String),
Value(i32)
Value(i64)
}
#[derive(Deserialize, Debug)]