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?

 Accepted Answer

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

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.

Sign in to comment.

More Answers (0)

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Products

Release

R2019b

Community Treasure Hunt

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

Start Hunting!