[DataLoader] Fix module import (#52224)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/52224
Test Plan: Imported from OSS
Reviewed By: glaringlee
Differential Revision: D26429871
Pulled By: ejguan
fbshipit-source-id: fcf2e5435658ecb92af1079def953b08cebb1f7f