摘要: 先贴代码,之后来补解释说明 `def custom_collate(batch): # Separate data and labels data, labels = zip(*batch) # Pad sequences to have the same length padded_data = 阅读全文
posted @ 2024-07-17 21:22 chenanyee 阅读(31) 评论(0) 推荐(0)