Open carlosgmartin opened 3 years ago
Hey @carlosgmartin, thanks for the suggestion! Note that we try to maximize value provided for modules we adopt into PyTorch core. As this is a relatively old paper that never reached the popularity of other RNN variations, it's a bit unclear to me at this point if it should be in core. However, if this request becomes popular enough, we can certainly reconsider this later on.
If you need a performant MGU implementation for your work, see this blog post discussing implementation of performant custom RNN cells / layers within PyTorch, with referenced example code here.
🚀 Feature
Add Minimal Gated Unit (MGU).
Motivation
From Minimal gated unit for recurrent neural networks (171 citations):
Pitch
Add
torch.nn.MGU
along the lines oftorch.nn.GRU
torch.nn.MGUCell
along the lines oftorch.nn.GRUCell
cc @albanD @mruberry @jbschlosser