- https://www.mathworks.com/help/deeplearning/ug/define-custom-deep-learning-intermediate-layers.html - Tutorial to set up a general deep learning custom layer.
- 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.
How to build a Custom neural network Layer (PG-JANET)
15 views (last 30 days)
Show older comments
Alecsander Eitan
on 19 Oct 2023
Commented: Alecsander Eitan
on 8 Nov 2023
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:
0 Comments
Accepted Answer
Garmit Pant
on 6 Nov 2023
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:
I hope this helps!
Best Regards
Garmit
More Answers (0)
See Also
Categories
Find more on Sequence and Numeric Feature Data Workflows in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!