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

Function make_batches

fairseq_cli/interactive.py:36–54  ·  view source on GitHub ↗
(lines, args, task, max_positions, encode_fn)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

mainFunction · 0.70

Calls 5

encode_lineMethod · 0.80
get_batch_iteratorMethod · 0.80
encode_fnFunction · 0.70
next_epoch_itrMethod · 0.45

Tested by

no test coverage detected