Skip to content
Discussion options

You must be logged in to vote

Hi,

I believe you mostly answered your question. In CH5 for simplicity we use a fixed sliding window to have the same length within a batch but nothing stops you to have batches of different sequence lengths. For instance, you could change the size of the window for each batch.

Your intuition about padding is right and this is done in the next chapters CH6-CH7 iirc with batching variable length sequences.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@rasbt
Comment options

Answer selected by bowenxieoregon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants