How to generate GRU layer in MATLAB 2019b?

6 views (last 30 days)
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?

Accepted Answer

Aparajith Raghuvir
Aparajith Raghuvir on 7 Jul 2021
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 Comments
Aparajith Raghuvir
Aparajith Raghuvir on 7 Jul 2021
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.

Sign in to comment.

More Answers (0)

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!