For loop traversing the dataset causes memory corruption

用 for loop 去遍历dataset 会把整个datasat加载到内存导致崩溃吗?我在一次机器学习任务中出现了内存崩溃,我怀疑是for在捣鬼

From Google translate:

Will using a for loop to traverse the dataset load the entire datasat into memory and cause a crash? I have a memory crash in a machine learning task, I suspect that for is playing tricks

Thanks for reply,my problem have been solved