Fix compilation error found in tflite test#3820
Fix compilation error found in tflite test#3820wenyongh merged 1 commit intobytecodealliance:mainfrom
Conversation
|
Is your example compiling even with this typo here ? How about the load function here, are we suppose to include Did you get problem with the In order to test your branch i had to change: Then I used these commands (a bit modified from your Readme.md file): #!/bin/bash
export EXECUTION_TYPE=cpu
# Build the runtime
docker build -t wasi-nn-${EXECUTION_TYPE} -f core/iwasm/libraries/wasi-nn/test/Dockerfile.${EXECUTION_TYPE} . || exit 1
# Build wasm app
docker build -t wasi-nn-compile -f core/iwasm/libraries/wasi-nn/test/Dockerfile.compile . || exit 1
# changed this in order to let it have access to the include directory above the test directory
docker run \
-w /wasi-nn/core/iwasm/libraries/wasi-nn/test \
-v $PWD/:/wasi-nn \
-v $PWD/core/iwasm/libraries/wasi-nn/test/models:/models \
wasi-nn-compile \
--dir=/ \
--env="TARGET=cpu" || exit 1
# Run wasm app
docker run \
-v $PWD/core/iwasm/libraries/wasi-nn/test:/assets \
-v $PWD/core/iwasm/libraries/wasi-nn/test/models:/models \
wasi-nn-cpu \
--dir=/ \
--env="TARGET=cpu" \
/assets/test_tensorflow.wasmSo yes to your question here: |
Sure. I will include it in this PR. |
Yes. I met the problem when using 1.26.4. I will include it in this PR |
Sure. I will include it in this PR. |
2e111cf to
1588248
Compare
|
I've made some changes. Now the result will look like this. |
1588248 to
bc36fd2
Compare


No description provided.