Internal representation of minibatch data.
Value(batch, seq_starts = NULL, device = NULL)
batch | (matrix or Value) batch input for var |
---|---|
seq_starts | (list of bools or NULL) if None, every sequence is treated as a new sequence. Otherwise, it is interpreted as a list of Booleans that tell whether a sequence is a new sequence (True) or a continuation of the sequence in the same slot of the previous minibatch (False) |
device | instance of DeviceDescriptor |