Replies: 2 comments 4 replies
-
|
Hi @myagues -- |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
It seems |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have been trying to make
jax.maskwork with a Bidirectional RNN, but I am not sure where the mask decorator should be placed.My code is a replication of the TF tutorial Text classification with an RNN, but using Flax, and the code can be run in Colab. The main model and its call are:
and when trying to use a mask (as in the
seq2seqexample):it returns an error with
UndefinedPoly: Polynomial n is not constantthat traces back tonn.Embed(guessjax.maskdoes not like the shape change). Are the shapes in the mask not correctly defined, or should I just define the mask around theBiLSTMmodule?Thanks!!
Beta Was this translation helpful? Give feedback.
All reactions