Contents

batchSizePerSequenceStep

The batch size for each sequence.

Declaration

var batchSizePerSequenceStep: [Int]? { get }

Discussion

The framework only populates this value when sequenceLengths is valid. The length of this array is equal to the maximum sequence length in sequenceLengths; that is, sequenceLengths[0] when sortedSequences is true.

See Also

Inspecting Tensor Descriptors