Available on crate feature
std only.Expand description
Explicit aligned encoder-decoder examples and paired packed/padded collation. Paired encoder/decoder collation with explicit already-aligned teacher-forcing targets.
Structs§
- Packed
Seq2 SeqBatch - Native paired packed inputs with independent actual source/decoder boundaries.
- Packed
Token Batch - Actual flat document inputs without labels or synthetic separator tokens.
- Padded
Seq2 SeqBatch - Native paired padded inputs and unchanged aligned decoder supervision.
- Padded
Token Batch - Actual padded token inputs without labels, for a model’s encoder or decoder.
- Seq2
SeqBatcher - Native paired collation without model-specific target construction or truncation.
- Seq2
SeqData Error - Invalid actual paired input/label geometry or explicit layout configuration.
- Seq2
SeqExample - One actual encoded source and its explicit decoder inputs and same-position labels.
Enums§
- Seq2
SeqBatch - Explicit native paired device batch for padded or packed encoder-decoder models.
- Seq2
SeqBatch Layout - Paired document layout, with independently supplied source/decoder padding policies.