Separating CaptureDataFrame out of DFIterDataPipe (#71776)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/71776
Test Plan: Imported from OSS
Reviewed By: ejguan
Differential Revision: D33771602
Pulled By: VitalyFedyunin
fbshipit-source-id: 59d85bc707a9568f1f0960fc184113a4f422d2df
(cherry picked from commit 93522768efc8c525887ad52b415009535fe02cfb)