Revert D25433268: [PyTorch Mobile] Preserve bundled input related methods when calling optimize_for_mobile
Test Plan: revert-hammer
Differential Revision:
D25433268 (https://github.com/pytorch/pytorch/commit/95233870f284565df602471bf09b8aad565540b8)
Original commit changeset: 0bf9b4afe64b
fbshipit-source-id: bba97e48ce0e72f9d1db5159065bb6495d62666c