torch.nn.utils.PackSequenceOptions
export interface PackSequenceOptions {
/** If true, checks that sequences are sorted by length (default: true) */
enforce_sorted?: boolean;
}enforce_sorted(boolean)optional- – If true, checks that sequences are sorted by length (default: true)
Options for pack_sequence