wasm-micro-runtime/core/iwasm
YAMAMOTO Takashi c9b8c16088
wasi_nn_openvino.c: remove pre/postprocessing and layout assumptions (#4361)
as wasi-nn doesn't have these concepts, the best we can do without
risking breaking certain applications here is to pass through tensors
as they are.

this matches wasmtime's behavior.

tested with:

* wasmtime classification-example
  (with this change, this example fails on tensor size mismatch
  instead of implicitly resizing it.)

* license-plate-recognition-barrier-0007, a converted version
  with non-fp32 output. [1]
  (with this change, this model outputs integers as expected.)

[1] cd7ebe313b/models/public/license-plate-recognition-barrier-0007
2025-06-17 13:01:46 +08:00
..
aot add validation for array type in load_init_expr(GC only) (#4370) 2025-06-17 11:01:38 +08:00
common Collective fix for typos and minor bugs (#4369) 2025-06-17 09:26:00 +08:00
compilation Modify AOT static PGO to conform to llvm-18 and add a CI job to test static PGO on the coremark benchmark (#4345) 2025-06-12 16:57:11 +08:00
doc Fix some more spelling issues (#3393) 2024-05-08 09:30:29 +08:00
fast-jit Keep fix the CMake compatibility issue (#4180) 2025-04-15 12:51:19 +08:00
include feat: Add instruction metering for interpreter (#4122) 2025-05-26 16:16:42 +08:00
interpreter Collective fix for typos and minor bugs (#4369) 2025-06-17 09:26:00 +08:00
libraries wasi_nn_openvino.c: remove pre/postprocessing and layout assumptions (#4361) 2025-06-17 13:01:46 +08:00
README.md Add architecture diagram for wasm globals and classic-interp stack frame (#2058) 2023-03-25 09:39:20 +08:00