Keras implementation of MinimalRNN: Toward More Interpretable and Trainable Recurrent Neural Networks.
Import minimal_rnn.py
and use either the MinimalRNNCell
or MinimalRNN
layer
from minimal_rnn import MinimalRNN
# this imports the layer rather than the cell
ip = Input(...) # Rank 3 input shape
x = MinimalRNN(units=128)(ip)
...