Borrar filtros
Borrar filtros

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

11 visualizaciones (últimos 30 días)
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:

Respuesta aceptada

Garmit Pant
Garmit Pant el 6 de Nov. de 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:
  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 comentario
Alecsander Eitan
Alecsander Eitan el 8 de Nov. de 2023
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.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Sequence and Numeric Feature Data Workflows en Help Center y File Exchange.

Productos


Versión

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by