DataLoader.__next__ num_works简单理解就是能够并行化地读取数据class DataLoader(object): ... def __next__(self): if self.num_workers == 0: ... batch ...
確定! 回上一頁