-
Notifications
You must be signed in to change notification settings - Fork 647
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix compilation error found in tflite test #3820
Fix compilation error found in tflite test #3820
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.wasm So 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.