This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# I just put this in so you can see why it matters | |
class CUDNNCompatible_GRUCell(keras.layers.Layer): | |
"""Cell class for the GRU layer which is compatible with CuDNN GRU cells (but doesn't require tensorflow/Cuda). | |
# Arguments | |
units: Positive integer, dimensionality of the output space. | |
activation: Activation function to use | |
(see [activations](../activations.md)). | |
If you pass None, no activation is applied | |
(ie. "linear" activation: `a(x) = x`). |