How to generate GRU layer in MATLAB 2019b?

There is already a GRU layer in Deeplearning tool box in 2020b, however, I have to apply GRU in MATLAB 2019b. Is there any way to generate GRU layer in 2019b?

 Risposta accettata

I understand you're trying to apply a GRU layer in MATLAB R2019b, however there is no way to directly use the implementation you find in MATLAB R2020b.
You may instead run the following code:
edit gruLayer
This would give you the source code for the GRU layer which you may use as reference to build your own in MATLAB R2019b

3 Commenti

Is that the custom layer I could apply this code?
The GRU layer doesn't exist in MATLAB R2019b. You may use the source code of the gruLayer from MATLAB R2020b as a reference to build your own custom GRU layer.
Thank you!

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Deep Learning Toolbox in Centro assistenza e File Exchange

Prodotti

Release

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by