Add nhwc memory format test for dropout (#34379)
Summary:
cc: ptrblck
Pull Request resolved: https://github.com/pytorch/pytorch/pull/34379
Differential Revision: D20310118
Pulled By: ngimel
fbshipit-source-id: a9bafd6b8fbcb57443e22181cf6bd9879b6f6051