![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1159488/image.png)
Importing Trained Tensorflow/Keras LSTM network into MATLAB
조회 수: 19 (최근 30일)
이전 댓글 표시
Hi,
So as a part of a project i need to import a LSTM network which is trained by Tensorflow/keras into matlab. So far i tried to use ImportKerasNetwork but it appears that this function does not support LSTM layers. I have been notified that in R2022 version ,which i am using now, importTensorflowNetwork supports LSTM networks however i dont know the exact usage of this function to import my network to MATLAB. I was wondering if anyone could help me in this matter. Thanks !
댓글 수: 0
답변 (1개)
David Willingham
2022년 10월 17일
Hi,
To use importTensorflowNetwork, you'll first need to convert the model into the SavedModel format in Tensorflow. Here is an example of how to do this:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1159488/image.png)
댓글 수: 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!