Back out "Add memory format support to `ones_like` operator" (#28802)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/28802
Original commit changeset: 5da9530f6b23
ghstack-source-id: 92748794
Test Plan: buck test language_technology/neural_mt/os/pytorch_translate/test:test_onnx
Reviewed By: ifedan
Differential Revision: D18175303
fbshipit-source-id: ac36c7d345cba901bc2b64dc22661b8d0f179f13