Closed Rahn80643 closed 2 years ago
Hi @Rahn80643,
Could you try network->ExecuteStrategy(visitor);
call on Line 373 after TfLite Parser parsed the model? After the TfLite Parser, Arm NN graph would be already built so ExecuteStrategy()
call could visit all the layers in the network.
Best Regards, Sadik
Hi SadikARM,
I changed network->ExecuteStrategy(visitor);
after TfLiter parser parsed the model and hint
could be executed sucessfully.
Thank you!
Best Regards, Rahn
Hi,
I'm trying to apply the "hint" mechanism for a tflite model to
executeNetwork
based on this issue, and I added the following code snippets toInferenceModel.hpp
which is the attachment:#include <armnn/IStrategy.hpp>
class VerifyActivationName
and assigned the backend IDs to target layer typesnetwork->ExecuteStrategy(visitor);
However, executeNetwork fails to execute inference of the model, and the error occurs at![Screenshot](https://user-images.githubusercontent.com/8951991/153166477-97711728-35f7-4bc9-b6fd-e9b913d790c6.png)
network->ExecuteStrategy(visitor);
. Is there a step omiited in the steps above?Best Regards, Rahn InferenceModel.hpp.txt