Revert D23398534: [pytorch][PR] [ONNX] Improve error handling for adaptive_pool
Test Plan: revert-hammer
Differential Revision:
D23398534 (https://github.com/pytorch/pytorch/commit/45ddeb5ce6d0a7e2a719fac3d7e32a3643b46379)
Original commit changeset: f2d60d40340f
fbshipit-source-id: acc9d6c3d031662c37447fcee027b0c97b8492a7