How to create GRU RNN in MATLAB

I have an audio data file and corresponding data labels for it. I want to use a gated convolution layers.one hyperbolic tangent fnction is applied to output from regular filter and output from gates pass through a sigmoid function.A hadmard prduct is observed between the final output of the layer.

Answers (1)

Hi,
You could implement RNN with Gated Recurrent Unit (GRU) by using either LSTM or bi-LSTM layers. Also have a look at this link https://www.mathworks.com/help/deeplearning/ug/define-custom-deep-learning-layers.html to implement GRU using a custom layer.

1 Comment

Hello,
May I know detail implementation structure of GRU using LSTM layer ? Or can you please share any other information how to use LSTM layer for GRU in MATLAB ? Thank you.

Sign in to comment.

Categories

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

Asked:

on 25 Jul 2019

Commented:

on 22 Oct 2019

Community Treasure Hunt

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

Start Hunting!