torch.nn.utils.PackPaddedSequenceOptions
export interface PackPaddedSequenceOptions {
/** If true, input is expected in B x T x * format (default: false) */
batch_first?: boolean;
/** If true, checks that sequences are sorted by length in decreasing order. If false, sorts them automatically. (default: true) */
enforce_sorted?: boolean;
}batch_first(boolean)optional- – If true, input is expected in B x T x * format (default: false)
enforce_sorted(boolean)optional- – If true, checks that sequences are sorted by length in decreasing order. If false, sorts them automatically. (default: true)
Options for pack_padded_sequence