You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like the extra dimensions are being collapsed somewhere internally through a reshape, but attempting to use the model can result in shaping errors.
If you try this same thing with other RNNs, such as out = tf.keras.layers.SimpleRNN(128)(inp) then you will get the error message:
ValueError: Input 0 of layer simple_rnn_0 is incompatible with the layer: expected ndim=3, found ndim=4. Full shape received: [200, 1000, 8, 128]
I think we should perform the same kind of validation to disallow ndim>3 explicitly (unless of course there's a way to make this work correctly)?
The text was updated successfully, but these errors were encountered:
arvoelke
changed the title
LMU allows the input to have ndim>3
LMU allows the input to have ndim>3 (and then fails later)
Apr 11, 2021
Minimal reproducer:
Output:
It looks like the extra dimensions are being collapsed somewhere internally through a reshape, but attempting to use the model can result in shaping errors.
If you try this same thing with other RNNs, such as
out = tf.keras.layers.SimpleRNN(128)(inp)
then you will get the error message:I think we should perform the same kind of validation to disallow
ndim>3
explicitly (unless of course there's a way to make this work correctly)?The text was updated successfully, but these errors were encountered: