can i implement lstm layer from scratch using matlab in sequence to sequence regression
조회 수: 4 (최근 30일)
이전 댓글 표시
1)can i implement lstm layer from scratch instead of pretrained network used in this example?
2)can i change the activation functions for all cells in lstm layer?
댓글 수: 0
답변 (1개)
Ben
2022년 12월 1일
Sure, I think the best way to do this would be with a custom layer, you can follow this example that implements a modified LSTM called peephole LSTM using custom layers:
https://uk.mathworks.com/help/deeplearning/ug/define-custom-recurrent-deep-learning-layer.html
참고 항목
카테고리
Help Center 및 File Exchange에서 Image Data Workflows에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!