batchindices
(
n
,
size
,
i
)
Get the indices of batch
i
with batch size
size
of
a collection with
n
elements
.
Might be a partial batch if
i
is the last batch and
n
is not divisible by
size
.