Skip to content
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

Can not add Mul Operator in dev branch, can not find arm_elementwise_mul_s16 #101

Open
steckes opened this issue Mar 18, 2024 · 0 comments

Comments

@steckes
Copy link

steckes commented Mar 18, 2024

Description

The model I want to run needs the Sum operation.
As the main branch links against an older version of tensorflow, that does not yet support the Sum operation, I needed to switch to the dev branch.
On the main branch it was working only with the TPU, but my model needs int16 quantization to work.
On the dev branch, I can successfully add the Sum operation, but now the Mul operation is not working anymore. When compiling while calling resolver.AddMul() I get a compiler error.
It can not find arm_elementwise_mul_s16 from CMSIS.
Would be awesome if there is a fix to that :)

Click to expand!

Issue Type

Bug

Operating System

Linux

Coral Device

Dev Board Micro

Other Devices

No response

Programming Language

C++

Relevant Log Output

...: in function `tflite::(anonymous namespace)::EvalQuantized(TfLiteContext*, TfLiteNode*, tflite::
OpDataMul const*, TfLiteEvalTensor const*, TfLiteEvalTensor const*, TfLiteEvalTensor*) [clone .constprop.0]':
/third_party/tflite-micro/tensorflow/lite/micro/kernels/cmsis_nn/mul.cc:82: undefined reference to `arm_elementwise_mul_s16'
collect2: error: ld returned 1 exit status
make[2]: *** [apps/spancer_coral/CMakeFiles/spancer_coral.dir/build.make:297: apps/spancer_coral/spancer_coral] Error 1
make[1]: *** [CMakeFiles/Makefile2:2404: apps/spancer_coral/CMakeFiles/spancer_coral.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
make: Leaving directory '...'
</details>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant