... lengths, batch_first=False, enforce_sorted=False) y_batched = torch.as_tensor(labels, dtype=torch.long) Converts the lengths into a tensor return ...
確定! 回上一頁