How to support a batch of variable length sequences? #3070
-
Hi, thanks for the great library. I was wondering if it is possible to pass a batch of variable length sequences to a convolution layers or GRU layers? Or do we need to implement our own? Many thanks, Charles |
Beta Was this translation helpful? Give feedback.
Answered by
cgarciae
May 2, 2023
Replies: 1 comment
-
Hey @deepcharles , to support variable length sequences is JAX you need some form of padding. You can probably use our abstractions and add padding on top. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
deepcharles
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey @deepcharles , to support variable length sequences is JAX you need some form of padding. You can probably use our abstractions and add padding on top.