MCPcopy Create free account
hub / github.com/XuezheMax/flowseq / batch

Method batch

flownmt/data/dataloader.py:365–383  ·  view source on GitHub ↗

Yield elements from data in chunks of batch_size.

(self, batch_size)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

_poolMethod · 0.95

Calls 1

batch_size_fnFunction · 0.85

Tested by

no test coverage detected