Skip to content

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

@steckes

Description

@steckes

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>

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions