Hello @brianon,
Thanks for the context.
Sadly, you can only use the NPU through the compiled code of the STEdgeAI Core.
You can find the supported layers for the NPU here:
https://stedgeai-dc.st.com/assets/embedded-docs/stneuralart_operator_support.html
There are some layers mapped on the NPU (HW in the doc) that does could be used, I think, in small models with only an input, the layer, and an output that you could use as accelerated mathematical function in a way.
For example AVERAGE_POOL_2D. I think you would need to fix the input/ouput size.
For layers like a Conv2D, I don't think it would be useful as the filters values would be fixed.
We support the uses of multiple models.
Have a good day,
Julian
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.