using predictAndUpdateState with an LSTM with featureInputLayer

Hello,
I'd like to ask if it's possible to use "predictAndUpdateState" with an LSTM that has an featureInputLayer?
If I train my LSTM with a sequenceInputLayer everything works fine, but when I use a featureInputLayer the training works, prediction using the regular predict() works as well, but for "predictAndUpdateState" I get the error:
predictAndUpdateState and classifyAndUpdateState support recurrent neural networks only.
Is it possible to make predictAndUpdateState work using an LSTM that has been trained using a featureInputLayer?

More Answers (0)

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Asked:

on 12 Apr 2022

Answered:

on 25 May 2022

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!