I want to use the tensorflow Lite Micro in the c++ project of armDS.
There is an error when I check the library and build it as shown in the picture in software components.
The error is "Error: L6218E: Undefined symbol arm_nn_softmax_common_s8 (referred from arm_softmax_s8_s16.o)"
Is there an error because there is a library that I didn't install?
It seems to me that there is an error in the CMSIS-NN Neural Network library.
Somebody tell me how to solve this
HiMy name is Stephen and I work at Arm.The version of CMSIS Core you are using (5.6.0) is quite old.arm_nn_softmax_common_s8 was added as source in CMSIS 5.9.0.Unfortunately, arm_nn_softmax_common_s8.c was omitted from the pack meta data, so it is not referenced in the project.As a quick workaround, I suggest you add this source module manually to the project:github.com/.../arm_nn_softmax_common_s8.cThe CMSIS Pack used should be 5.9.0.This issue will be fixed in the next CMSIS release. We don't have a release date planned for that at the moment but, after you update to that release the module can just be removed from the project, with no further impact.Hope this helps,Stephen
HelloI fixed the error by adding arm_nn_softmax_common_s8.c to the projectThank you for telling me how to solve it!But I had another errorThe error is "Error: L6218E: Undefined symbol tflite::micro::RegisterOp(void* (*)(TfLiteContext*, char const*, unsigned int), TfLiteStatus (*)(TfLiteContext*, TfLiteNode*), TfLiteStatus (*)(TfLiteContext*, TfLiteNode*)) (referred from activations.o).Error: L6218E: Undefined symbol tflite::micro::GetEvalInput(TfLiteContext const*, TfLiteNode const*, int) (referred from activations.o).Error: L6218E: Undefined symbol tflite::micro::GetEvalOutput(TfLiteContext const*, TfLiteNode const*, int) (referred from activations.o).Error: L6218E: Undefined symbol tflite::micro::GetTensorShape(TfLiteEvalTensor const*) (referred from activations.o).Error: L6218E: Undefined symbol tflite::micro::HaveSameShapes(TfLiteEvalTensor const*, TfLiteEvalTensor const*) (referred from comparisons.o).Error: L6218E: Undefined symbol tflite::micro::RuntimePaddingType(TfLitePadding) (referred from conv_common.o).Error: L6218E: Undefined symbol tflite::micro::CreateWritableTensorDimsWithCopy(TfLiteContext*, TfLiteTensor*, TfLiteEvalTensor*) (referred from depth_to_space.o).Error: L6218E: Undefined symbol tflite::micro::CopyOpInputsToSubgraphInputs(TfLiteContext*, TfLiteNode*, tflite::MicroGraph*, int, int) (referred from if.o).Error: L6218E: Undefined symbol tflite::micro::CopySubgraphOutputsToOpOutputs(TfLiteContext*, TfLiteNode*, tflite::MicroGraph*, int) (referred from if.o).Error: L6218E: Undefined symbol tflite::micro::GetMutableEvalInput(TfLiteContext const*, TfLiteNode const*, int) (referred from svdf.o).Error: L6218E: Undefined symbol tflite::micro::CopyOpInputsToOpOutputs(TfLiteContext*, TfLiteNode*) (referred from while.o).Error: L6218E: Undefined symbol tflite::micro::CopyOpOutputsToSubgraphInputs(TfLiteContext*, TfLiteNode*, tflite::MicroGraph*, int) (referred from while.o).Finished: 0 information, 122 warning and 12 error messages."Is it wrong to include in my code?Tensorflow Lite Micro library doesn't seem to load properly.Should I do something like PATH setting in ARMDS?Can you help you solve the error?
This thread is continued in community.arm.com/.../error-l6218e-undefined-symbol-tflite-micro