summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRichard Burton <richard.burton@arm.com>2021-12-10 12:52:42 +0000
committerRichard <richard.burton@arm.com>2021-12-17 09:52:03 +0000
commit871fcdc755173b9f7ecb8cf9dc8dc6306329958c (patch)
treea15b58928e6462dac530338a9588252e5666de2d /docs
parentccd0c66c2f7b614d59677b6c5670ff336095470a (diff)
downloadml-embedded-evaluation-kit-871fcdc755173b9f7ecb8cf9dc8dc6306329958c.tar.gz
Update FAQ with opresolver question
Change-Id: I2b2685dd65e08e3d8b52d223cfad53e90a73d2ba
Diffstat (limited to 'docs')
-rw-r--r--docs/sections/faq.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/sections/faq.md b/docs/sections/faq.md
index 6330164..5578ead 100644
--- a/docs/sections/faq.md
+++ b/docs/sections/faq.md
@@ -42,3 +42,17 @@ parameter. Check that the path is correct, clean the build folder and re-run the
However, when running code samples on Corstone-300 FVP, active CPU cycles should not be used for any performance analysis or interpretation.
The Cortex-M part of the Fast Model **is not** cycle accurate or approximate, meanwhile NPU (Ethos-U) part **is** cycle approximate.
If you need to interpret cycles for Cortex-M part, you need to use FPGA system (based on MPS3) or cycle accurate modelling environment.
+
+----
+
+**Q: I changed the model for a use case but when running the application, tensor allocation fails with an error that an op for a
+builtin opcode could not be found and the application failed to get registration from that op code.**
+
+**A:** If you change the default model for a use case to a new model then you should update the corresponding
+*<model_name>Model.cc* source file to include any new operators that this model has.
+
+For example, if you changed the **img_class** model you would need to modify the **arm::app::MobileNetModel::EnlistOperations()**
+function in *source/use_case/img_class/src/MobileNetModel.cc* to enlist any new operators in the model.
+
+Don't forget to also increment the **ms_maxOpCnt** variable in the corresponding header file
+(e.g. *source/use_case/img_class/include/MobileNetModel.hpp* if we are changing **img_class**). \ No newline at end of file