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
```shell
...: 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 '...'
```
```
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 theSum
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 theSum
operation, but now theMul
operation is not working anymore. When compiling while callingresolver.AddMul()
I get a compiler error. It can not findarm_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 ```shell ...: 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 '...' ``` ```