using predictAndUpdateState with an LSTM with featureInputLayer
1 次查看(过去 30 天)
显示 更早的评论
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?
0 个评论
采纳的回答
Zhiyu WANG
2022-5-25
LSTM requires somelike "timeseries" data while "featureInputLayer" is not along with that.Yo ucan refer to this answer:
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Deep Learning Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!