[DataPipe] Control shuffle settings from DataLoader2 (#65756)
Summary:
Makes `shuffle` DataPipe sensitive to DataLoader(2) `shuffle` kwarg.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/65756
Reviewed By: albanD
Differential Revision: D31344867
Pulled By: VitalyFedyunin
fbshipit-source-id: e0084e0ac193ac784d6298328ca1222745681347