필터 지우기
필터 지우기

How to build a Custom neural network Layer (PG-JANET)

조회 수: 12 (최근 30일)
Alecsander Eitan
Alecsander Eitan 2023년 10월 19일
댓글: Alecsander Eitan 2023년 11월 8일
I was assigned to implement an algoritm from a paper ("Digital Predistortion of RF Power Amplifiers With Decomposed Vector Rotation-Based Recurrent Neural Networks") in Matlab. I'm familiar with neural network, mainly using Matlab toolbox (existing) layers. However, PG-JANET is not in the existing list.
I'll appreciate any help with this: similar examples and how to start the implementation.
Thank you,
Alecs
The layer is defined by:
And:

채택된 답변

Garmit Pant
Garmit Pant 2023년 11월 6일
Hello Alecsander
I understand that you are trying to implement the algorithm given in the paper "Digital Predistortion of RF Power Amplifiers With Decomposed Vector Rotation-Based Recurrent Neural Networks" in MATLAB but the LSTM layer, PG-JANET, is not available in the list of the existing layers.
As of MATLAB 2023B, you can define custom LSTM layer in MATLAB. You need to define the layer as an M-File.
Please follow the following MATLAB example to define a custom LSTM layer.
For further understanding, you can refer to the following MATLAB Documentation:
  1. https://www.mathworks.com/help/deeplearning/ug/define-custom-deep-learning-intermediate-layers.html - Tutorial to set up a general deep learning custom layer.
  2. https://www.mathworks.com/help/deeplearning/ug/long-short-term-memory-networks.html - Example to depict how to set up and use an LSTM neural network.
I hope this helps!
Best Regards
Garmit
  댓글 수: 1
Alecsander Eitan
Alecsander Eitan 2023년 11월 8일
Thank you for your answer.
This is a general answer, with links to some general examples. It is quite difficult to use these examples and tutorials for building a new and different layer.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Sequence and Numeric Feature Data Workflows에 대해 자세히 알아보기

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by