lengths即爲序列的長度。 torch.nn.utils.rnn.pad_packed_sequence(sequence, batch_first=False, padding_value=0.0, total_length=None). 官方API: ...
確定! 回上一頁