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