MCPcopy Create free account
hub / github.com/HA-Transformer/MAT / Seq2SeqCollater

Class Seq2SeqCollater

examples/speech_recognition/data/collaters.py:21–129  ·  view source on GitHub ↗

Implements collate function mainly for seq2seq tasks This expects each sample to contain feature (src_tokens) and targets. This collator is also used for aligned training task.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

test_collateMethod · 0.90
__getitem__Method · 0.85

Calls

no outgoing calls

Tested by 1

test_collateMethod · 0.72