torch.nn.utils.UnpadSequenceOptions
export interface UnpadSequenceOptions {
/** Whether the input is batch-first (default: false) */
batch_first?: boolean;
}batch_first(boolean)optional- – Whether the input is batch-first (default: false)
Options for unpad_sequence