remove simple .data from torch/nn
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/31482
Test Plan: Imported from OSS
Differential Revision: D19303243
Pulled By: albanD
fbshipit-source-id: 5afdfeb4b8382c09b9ec65acd545148ed76d4285