Back out "Add memory format support to `rand_like` operator" (#28801)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/28801
Original commit changeset: 2a1d47571268
ghstack-source-id: 92748792
Test Plan: buck test language_technology/neural_mt/os/pytorch_translate/test:test_onnx
Reviewed By: ifedan
Differential Revision: D18175304
fbshipit-source-id: ffd61f6e42f256b39b80a6b42d989c238228f25d