STM32Cube AI Studio fails to handle GRU state
Hi.
It looks like the toolchain cannot cope with more than one GRU layer.
There is an error, and we cannot resolve it in this application. Please send your log by copying and pasting it to share it with edge.ai@st.com and attach your model.
Generate Project
Copying previous project files from C:\Users\micha\Documents\Azimuth\ARM\STMicro\STM32CubeAI\workspace\soc_gru\.ai\run\run-3 to C:\Users\micha\Documents\Azimuth\ARM\STMicro\STM32CubeAI\workspace\soc_gru\.ai\run\run-3\.ai\generate\backup
Calculating memory footprint...
Run failed: Error: analyze error: NOT IMPLEMENTED: Slice on batch dimension not supported
When there is more than one GRU layer, it is typical to stack the state and pass it in as one tensor.
Then it is sliced apart within the model.
But the Cube AI Studio software chokes on the slice since it is in the batch dimension.
I suppose the intention is not to support unrolling in time, but in this case there is no such issue.
Is there a work-around for this that does not involve restructuring the model and re-training?
Thanks.
--Mike
