Named inference for contiguous(), bernoulli variants, and dropout. (#23808)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/23808
See title.
Test Plan: - New tests [namedtensor ci]
Differential Revision: D16657926
Pulled By: zou3519
fbshipit-source-id: 8cd46765b1c791b73448ddf4585dae56d635364d