Skip to main content
Associate II
May 19, 2025
Question

X Cube AI Internal Error: Trying to remove _lstm_layer_detail_LSTM_output_1 which has multiple inputs

  • May 19, 2025
  • 1 reply
  • 345 views

Hi,

I tried to deploy a LSTM model on stm32h747i-disco board. However, I met "
INTERNAL ERROR: Trying to remove _lstm_layer_detail_LSTM_output_1 which has multiple inputs
" when I used x-cube-ai to analyse the model. 

I am wondering what should I do to solve this problem and why it has this problem.

Thanks.

1 reply

Julian E.
Technical Moderator
October 14, 2025

Hello @ERICWU 

 

Sorry for the late answer, your post was moved to this topic a few minutes ago.

As of today, LSTM are badly supported, it should be part of the focus in the release after the next one.

 

Could you share your model please?

 

You have the list conditions to use LTSM here:

ONNX toolbox support

TensorFlow Lite toolbox support

 

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.